Fix rm fails if public/ doesn't exist
This commit is contained in:
parent
51f01cedd6
commit
236c65287b
@ -25,7 +25,7 @@
|
|||||||
type = "app";
|
type = "app";
|
||||||
program = toString (pkgs.writeShellScript "serve" ''
|
program = toString (pkgs.writeShellScript "serve" ''
|
||||||
set -xe
|
set -xe
|
||||||
rm -r public/
|
rm -rf public/
|
||||||
cp -r static/ public/
|
cp -r static/ public/
|
||||||
${pkgs.go}/bin/go run xbuild.go
|
${pkgs.go}/bin/go run xbuild.go
|
||||||
${pkgs.tailwindcss}/bin/tailwindcss -i input.css -o public/css/tailwind.css
|
${pkgs.tailwindcss}/bin/tailwindcss -i input.css -o public/css/tailwind.css
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user