make -> bash

master
Yves Dubromelle 6 years ago
parent 14f7f1119d
commit 7c244537e0

@ -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

@ -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 ?

Loading…
Cancel
Save