Refactor
This commit is contained in:
parent
9c5c7f89b0
commit
32cc453505
2 changed files with 11 additions and 4 deletions
|
@ -17,7 +17,17 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
devshells.default = {
|
devshells.default = {
|
||||||
packages = [ pkgs.marp-cli ];
|
packages = [
|
||||||
|
(pkgs.writeShellApplication {
|
||||||
|
name = "build";
|
||||||
|
|
||||||
|
runtimeInputs = [ pkgs.marp-cli ];
|
||||||
|
|
||||||
|
text = ''
|
||||||
|
marp slides.md --preview --watch
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
3
marp/run
3
marp/run
|
@ -1,3 +0,0 @@
|
||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
marp slides.md --preview --watch
|
|
Loading…
Add table
Add a link
Reference in a new issue