Add Makefile and cleaning

This commit is contained in:
2018-01-16 09:26:23 +01:00
parent 4139405d39
commit 0d0bedea40
4 changed files with 12 additions and 0 deletions

11
Makefile Normal file
View File

@@ -0,0 +1,11 @@
run: ts
go run main.go
build: ts
go build main.go -o pixeldrain-web
ts:
tsc --strict res/static/res/typescript/lib/*.ts --outFile res/static/res/script/pixellib.js
tsc --strict res/static/res/typescript/home/*.ts \
res/static/res/typescript/lib/*.ts \
--outFile res/static/res/script/home.js