nimpkgs/config.nims

13 lines
332 B
Text
Raw Normal View History

2023-11-22 23:43:36 -06:00
switch("backend","js")
2023-11-12 18:25:29 -06:00
task setup, "run atlas init":
exec "atlas init --deps=.workspace"
exec "atlas install"
task build, "build":
2023-11-22 23:43:36 -06:00
selfExec "js -o:site/app.js -d:release src/app.nim"
2023-11-12 18:25:29 -06:00
exec "pnpm run build"
task watch, "rebuild on change":
2023-11-22 23:43:36 -06:00
exec "watchexec -w src nim js -d:packagesHash:master -o:site/app.js src/app.nim"