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 | |
parent | 2cd21412bbf2cd97ce60219eeec3c466967252e5 (diff) | |
download | throw_simulation-2b8ca7104f702d0182f7ee82c51a02382254ace4.tar throw_simulation-2b8ca7104f702d0182f7ee82c51a02382254ace4.tar.gz throw_simulation-2b8ca7104f702d0182f7ee82c51a02382254ace4.zip |
-rw-r--r-- | .github/workflows/check.yml | 4 | ||||
-rw-r--r-- | Justfile | 13 | ||||
-rw-r--r-- | LICENSE.txt | 21 |
3 files changed, 31 insertions, 7 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 04e8f16..52a8282 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -7,5 +7,5 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "22" - - run: npm ci --include=dev - - run: npx prettier . --check + - uses: taiki-e/install-action@just + - run: just check @@ -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 diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..eb67150 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Arjun Satarkar + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.
\ No newline at end of file |