Files
fnx_web/Makefile

25 lines
682 B
Makefile
Raw Normal View History

2019-01-12 23:21:50 +01:00
run:
2018-01-16 17:07:42 +01:00
${MAKE} -j2 backgroundrun backgroundts
build:
tsc res/static/res/typescript/lib/*.ts --outFile res/static/res/script/pixellib.js \
res/static/res/typescript/home/*.ts \
res/static/res/typescript/lib/*.ts --outFile res/static/res/script/home.js
2018-01-16 09:26:23 +01:00
go build main.go -o pixeldrain-web
2018-01-16 11:47:48 +01:00
deps:
npm install -g typescript
2018-01-16 17:07:42 +01:00
backgroundrun:
go run main.go
backgroundts:
2019-01-12 23:21:50 +01:00
tsc --watch --project res/static/res/typescript/home
--project res/static/res/typescript/textupload
2019-01-12 23:21:50 +01:00
docker:
go build -o docker/pixeldrain-web docker/main.go
chmod +x docker/pixeldrain-web
docker build --tag pixeldrain-web -f docker/Dockerfile .
rm docker/pixeldrain-web
.PHONY: docker