Add Makefile and cleaning
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
.vscode
|
.vscode
|
||||||
|
main
|
||||||
|
11
Makefile
Normal file
11
Makefile
Normal 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
|
Binary file not shown.
Reference in New Issue
Block a user