use build constraints for embed, clean up makefile

internal-files/external-files and compile-debug are gone, the
environment variables INTERNAL=on/off and DEBUG=on/off replace them.
This commit is contained in:
Harvey Tindall
2021-04-01 14:22:11 +01:00
parent 07573a515a
commit e16f05b130
10 changed files with 84 additions and 75 deletions
-1
View File
@@ -27,7 +27,6 @@ before:
- npx esbuild --bundle ts/setup.ts --outfile=./data/web/js/setup.js --minify
- go get -u github.com/swaggo/swag/cmd/swag
- swag init -g main.go
- python3 scripts/embed.py internal
builds:
- dir: ./
env: