Delete public/ before every build
This commit is contained in:
parent
1e6149b257
commit
b39983296f
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
||||
public/**/*.html
|
||||
public/**/*.webp
|
||||
public/
|
||||
|
@ -22,6 +22,9 @@
|
||||
type = "app";
|
||||
program = toString (pkgs.writeShellScript "serve" ''
|
||||
set -x
|
||||
rm -r public/
|
||||
cp -r static/ public/
|
||||
go run main.go
|
||||
${pkgs.tailwindcss}/bin/tailwindcss -i input.css -o public/css/tailwind.css
|
||||
${pkgs.caddy}/bin/caddy run --config Caddyfile
|
||||
'');
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Loading…
x
Reference in New Issue
Block a user