Makefile 264 B

123456789101112
  1. all: js/app.js js/app_ns.es3.js
  2. js/app.js: app/*.ts
  3. yarn compile
  4. node js/app.js
  5. js/app_ns.js: Namespacedemo/membership.ts Namespacedemo/app.ts Makefile
  6. npx tsc --target ES2015 --outFile js/app_ns.js Namespacedemo/app.ts
  7. node js/app_ns.js
  8. clean:
  9. yarn clean