ajout de asciidoctor-revealjs pour construire les diapos
This commit is contained in:
3
Makefile
3
Makefile
@@ -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
|
||||
|
||||
|
||||
10
default.nix
10
default.nix
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user