summaryrefslogtreecommitdiff
path: root/Makefile
blob: b205e04c14ff3b862852f069f5ca3ee0cf7974a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.POSIX:

all: build

run: build
	npx http-server

build:
	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

format:
	npx prettier . --write