doc: filter src attribute to not rebuild as much
This commit is contained in:
parent
9dc0f25587
commit
f22237a3b3
7
ci.nix
7
ci.nix
@ -56,7 +56,12 @@ let
|
|||||||
fennel
|
fennel
|
||||||
luaPackages.lyaml
|
luaPackages.lyaml
|
||||||
];
|
];
|
||||||
src = ./.;
|
|
||||||
|
src = pkgs.lib.sources.sourceFilesBySuffices
|
||||||
|
(pkgs.lib.cleanSource ./. ) [
|
||||||
|
".nix" ".rst" "Makefile" ".svg" ".fnl" ".py"
|
||||||
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cat ${json} | fennel --correlate doc/parse-options.fnl > doc/modules-generated.inc.rst
|
cat ${json} | fennel --correlate doc/parse-options.fnl > doc/modules-generated.inc.rst
|
||||||
cat ${json} | fennel --correlate doc/parse-options-outputs.fnl > doc/outputs-generated.inc.rst
|
cat ${json} | fennel --correlate doc/parse-options-outputs.fnl > doc/outputs-generated.inc.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user