using TypeScript
This commit is contained in:
12
Makefile
Normal file
12
Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
.DEFAULT_GOAL := build
|
||||
|
||||
OUT=www/res/scripts
|
||||
|
||||
${OUT}/locutus.js ${OUT}/usimp.js: src/locutus.ts src/usimp.ts
|
||||
tsc
|
||||
|
||||
build: ${OUT}/locutus.js ${OUT}/usimp.js
|
||||
perl -i -pE 's/(\?v=[0-9]+\.[0-9]+\.[0-9]+\+)([0-9]+)/($$1).($$2+1)/eg' www/index.html
|
||||
|
||||
clean:
|
||||
rm -rf "${OUT}"
|
Reference in New Issue
Block a user