diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2024-11-02 17:33:02 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2024-11-02 17:33:02 +0000 |
commit | 76cbb26981cc4f8f018a97b9107076b6a8a76ef8 (patch) | |
tree | 546578711e0fd5647dbc8a041014e68937df3c79 /Justfile | |
parent | 2cd21412bbf2cd97ce60219eeec3c466967252e5 (diff) | |
download | throw_simulation-main.tar throw_simulation-main.tar.gz throw_simulation-main.zip |
Diffstat (limited to 'Justfile')
-rw-r--r-- | Justfile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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 |