23 lines
344 B
Markdown
23 lines
344 B
Markdown
# webxdc-go
|
|
|
|
a Go game application for webxdc
|
|
|
|
## develop
|
|
|
|
assuming nix flake
|
|
|
|
```sh
|
|
nix develop
|
|
# or if using direnv
|
|
echo "use flake ." > .envrc
|
|
direnv allow
|
|
# endif
|
|
|
|
npm run dev
|
|
# runs dev server on localhost:4000
|
|
# instances run on incremntal ports
|
|
# refresh page to reflect changes
|
|
|
|
npm run build
|
|
# builds new xdc as dist/webxdc-go.xdc
|
|
```
|