summaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2024-11-02 17:33:02 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2024-11-02 17:33:02 +0000
commit76cbb26981cc4f8f018a97b9107076b6a8a76ef8 (patch)
tree546578711e0fd5647dbc8a041014e68937df3c79 /Justfile
parent2cd21412bbf2cd97ce60219eeec3c466967252e5 (diff)
downloadthrow_simulation-1.0.0.tar
throw_simulation-1.0.0.tar.gz
throw_simulation-1.0.0.zip
Add MIT license, improve CI processHEADv1.0.0main
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Justfile b/Justfile
index 8a53c98..3b0c34a 100644
--- a/Justfile
+++ b/Justfile
@@ -1,4 +1,4 @@
-build: get_dependencies
+build: get_deps
mkdir -p dist
cp src/index.html dist/index.html
cp src/index.js dist/index.js
@@ -7,11 +7,14 @@ build: get_dependencies
run: build
npx http-server dist/
-get_dependencies:
- npm install --include=dev --fund=false
-
-format: get_dependencies
+format: get_deps
npx prettier . --write
+check: get_deps
+ npx prettier . --check
+
+get_deps:
+ npm ci --include=dev --fund=false
+
clean:
rm -rf dist node_modules