ajout de asciidoctor-revealjs pour construire les diapos

master
Yves Dubromelle 6 years ago
parent ad3d250e65
commit 3db8bc60c0

@ -1,3 +1,4 @@
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

@ -1,9 +1,17 @@
with (import <nixpkgs> {});
let asciidoctor-revealjs = bundlerApp {
pname = "asciidoctor-revealjs";
exes = [ "asciidoctor-revealjs" ];
gemdir = ./.;
};
in
derivation {
name = "kafetech-fai";
builder = "${gnumake}/bin/make";
args = [ "-f" ./Makefile ];
inherit asciidoctor;
inherit asciidoctor asciidoctor-revealjs;
src = ./src;
system = builtins.currentSystem;
}

Loading…
Cancel
Save