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> {});
|
with (import <nixpkgs> {});
|
||||||
let asciidoctor-revealjs = bundlerApp {
|
let asciidoctor_revealjs = bundlerApp {
|
||||||
pname = "asciidoctor-revealjs";
|
pname = "asciidoctor-revealjs";
|
||||||
exes = [ "asciidoctor-revealjs" ];
|
exes = [ "asciidoctor-revealjs" ];
|
||||||
|
|
||||||
|
inherit ruby;
|
||||||
gemdir = ./.;
|
gemdir = ./.;
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
derivation {
|
derivation {
|
||||||
name = "kafetech-fai";
|
name = "kafetech-fai";
|
||||||
builder = "${gnumake}/bin/make";
|
builder = "${bash}/bin/bash";
|
||||||
args = [ "-f" ./Makefile ];
|
args = [ "-f" ./build.sh ];
|
||||||
inherit asciidoctor asciidoctor-revealjs;
|
inherit asciidoctor asciidoctor_revealjs coreutils jre graphviz;
|
||||||
src = ./src;
|
src = ./src;
|
||||||
system = builtins.currentSystem;
|
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