summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2024-10-31 02:27:17 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2024-10-31 02:27:17 +0000
commitbcb38594492aec4f1116b3fdf0e9821d4016903a (patch)
tree300afa3870ef80e37586f03ed35b2bd0ff1e83b6 /Makefile
downloadthrow_simulation-bcb38594492aec4f1116b3fdf0e9821d4016903a.tar
throw_simulation-bcb38594492aec4f1116b3fdf0e9821d4016903a.tar.gz
throw_simulation-bcb38594492aec4f1116b3fdf0e9821d4016903a.zip
Implement the physics
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b205e04
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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