pleshevski.ru/makefile

29 lines
356 B
Makefile
Raw Normal View History

2022-03-20 23:21:38 +03:00
PAR := $(MAKE) -j 128
watch:
$(PAR) hr ts-w
2022-03-22 19:42:14 +03:00
docker-run:
docker run --restart always -p 30000:30000 pleshevski
docker-build:
docker build -t pleshevski .
2022-03-21 23:04:28 +03:00
build: ts
start:
2022-03-22 10:57:13 +03:00
npm run start
2022-03-21 23:04:28 +03:00
2022-03-20 23:21:38 +03:00
hr:
deno run -A ~/sandbox/hr/server.ts target static
2022-03-16 22:17:07 +03:00
2022-03-21 23:04:28 +03:00
ts:
2022-03-22 10:57:13 +03:00
npm run build
2022-03-21 23:04:28 +03:00
2022-03-16 22:17:07 +03:00
ts-w:
2022-03-21 23:04:28 +03:00
NODE_ENV=develop npx tsc-watch --onSuccess "make start"
2022-03-16 22:17:07 +03:00
clean:
rm -rf target