ajout de asciidoctor-revealjs pour construire les diapos
This commit is contained in:
3
Makefile
3
Makefile
@@ -1,3 +1,4 @@
|
|||||||
all:
|
all:
|
||||||
${asciidoctor}/bin/asciidoctor -o ${out}/slides.html ${src}/slides.adoc
|
${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
|
||||||
|
|
||||||
|
|||||||
10
default.nix
10
default.nix
@@ -1,9 +1,17 @@
|
|||||||
with (import <nixpkgs> {});
|
with (import <nixpkgs> {});
|
||||||
|
let asciidoctor-revealjs = bundlerApp {
|
||||||
|
pname = "asciidoctor-revealjs";
|
||||||
|
exes = [ "asciidoctor-revealjs" ];
|
||||||
|
|
||||||
|
gemdir = ./.;
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
derivation {
|
derivation {
|
||||||
name = "kafetech-fai";
|
name = "kafetech-fai";
|
||||||
builder = "${gnumake}/bin/make";
|
builder = "${gnumake}/bin/make";
|
||||||
args = [ "-f" ./Makefile ];
|
args = [ "-f" ./Makefile ];
|
||||||
inherit asciidoctor;
|
inherit asciidoctor asciidoctor-revealjs;
|
||||||
src = ./src;
|
src = ./src;
|
||||||
system = builtins.currentSystem;
|
system = builtins.currentSystem;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user