make -> bash
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,4 +0,0 @@
|
||||
all:
|
||||
${asciidoctor}/bin/asciidoctor -o ${out}/page.html ${src}/slides.adoc
|
||||
${asciidoctor-revealjs}/bin/asciidoctor-revealjs -a revealjsdir=https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.7.0 -o ${out}/slides.html ${src}/slides.adoc
|
||||
|
||||
6
build.sh
Normal file
6
build.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
export PATH="${jre}/bin:${coreutils}/bin:${graphviz}/bin:${asciidoctor_revealjs}/bin"
|
||||
|
||||
${asciidoctor}/bin/asciidoctor -r asciidoctor-diagram -o ${out}/page.html ${src}/slides.adoc
|
||||
asciidoctor-revealjs -a revealjsdir=https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.7.0 -r asciidoctor-diagram -o ${out}/slides.html --trace ${src}/slides.adoc
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
with (import <nixpkgs> {});
|
||||
let asciidoctor-revealjs = bundlerApp {
|
||||
let asciidoctor_revealjs = bundlerApp {
|
||||
pname = "asciidoctor-revealjs";
|
||||
exes = [ "asciidoctor-revealjs" ];
|
||||
|
||||
inherit ruby;
|
||||
gemdir = ./.;
|
||||
};
|
||||
|
||||
in
|
||||
derivation {
|
||||
name = "kafetech-fai";
|
||||
builder = "${gnumake}/bin/make";
|
||||
args = [ "-f" ./Makefile ];
|
||||
inherit asciidoctor asciidoctor-revealjs;
|
||||
builder = "${bash}/bin/bash";
|
||||
args = [ "-f" ./build.sh ];
|
||||
inherit asciidoctor asciidoctor_revealjs coreutils jre graphviz;
|
||||
src = ./src;
|
||||
system = builtins.currentSystem;
|
||||
}
|
||||
|
||||
@@ -1 +1,8 @@
|
||||
toto
|
||||
= Devenir son propre FAI
|
||||
|
||||
Pourquoi ? Comment ?
|
||||
|
||||
== Qu'est-ce qu'Internet ?
|
||||
|
||||
== Pourquoi son propre FAI ?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user