summaryrefslogtreecommitdiff
path: root/Justfile
blob: 8a53c9813f5606ed146aadfd1432961852df0829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
build: get_dependencies
	mkdir -p dist
	cp src/index.html dist/index.html
	cp src/index.js dist/index.js
	cp node_modules/@dimforge/rapier2d-compat/rapier.es.js dist/rapier.es.js

run: build
	npx http-server dist/

get_dependencies:
	npm install --include=dev --fund=false

format: get_dependencies
	npx prettier . --write

clean:
	rm -rf dist node_modules