From 76cbb26981cc4f8f018a97b9107076b6a8a76ef8 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Sat, 2 Nov 2024 13:33:02 -0400 Subject: Add MIT license, improve CI process --- Justfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Justfile') 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 -- cgit v1.2.3-57-g22cb