parallel build
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,3 +1,5 @@
|
|||||||
.vscode
|
.vscode
|
||||||
main
|
main
|
||||||
pdwebconfig.toml
|
pdwebconfig.toml
|
||||||
|
res/script/pixellib.js
|
||||||
|
res/script/home.js
|
23
Makefile
23
Makefile
@@ -1,16 +1,17 @@
|
|||||||
run: ts
|
run:
|
||||||
go run main.go
|
${MAKE} -j2 backgroundrun backgroundts
|
||||||
runboth: ts
|
build:
|
||||||
cd ../pixeldrain-server-launcher && go run main.go
|
tsc res/static/res/typescript/lib/*.ts --outFile res/static/res/script/pixellib.js \
|
||||||
|
res/static/res/typescript/home/*.ts \
|
||||||
build: ts
|
res/static/res/typescript/lib/*.ts --outFile res/static/res/script/home.js
|
||||||
go build main.go -o pixeldrain-web
|
go build main.go -o pixeldrain-web
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
npm install -g typescript
|
npm install -g typescript
|
||||||
|
|
||||||
ts:
|
backgroundrun:
|
||||||
tsc --strict res/static/res/typescript/lib/*.ts --outFile res/static/res/script/pixellib.js
|
go run main.go
|
||||||
tsc --strict res/static/res/typescript/home/*.ts \
|
backgroundts:
|
||||||
res/static/res/typescript/lib/*.ts \
|
tsc --watch res/static/res/typescript/lib/*.ts --outFile res/static/res/script/pixellib.js \
|
||||||
--outFile res/static/res/script/home.js
|
res/static/res/typescript/home/*.ts \
|
||||||
|
res/static/res/typescript/lib/*.ts --outFile res/static/res/script/home.js
|
||||||
|
Reference in New Issue
Block a user