diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-22 16:59:34 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-22 17:32:58 +0900 |
| commit | 7286ee29637dbc694f769b618259eb9f75bab0fa (patch) | |
| tree | 8ab8644344614bc8feda6b2f0152030c4a9cba98 /justfile | |
| parent | 94507ec2f265ca9400d64d42036ca1e8722e27da (diff) | |
| download | php-shirabe-7286ee29637dbc694f769b618259eb9f75bab0fa.tar.gz php-shirabe-7286ee29637dbc694f769b618259eb9f75bab0fa.tar.zst php-shirabe-7286ee29637dbc694f769b618259eb9f75bab0fa.zip | |
ci: setup GitHub Actions
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/justfile b/justfile new file mode 100644 index 00000000..5978c11f --- /dev/null +++ b/justfile @@ -0,0 +1,33 @@ +help: + @just --list + +check: lint clippy test + +lint: setup + ./scripts/linters/lint + +clippy: setup + cargo clippy --tests + +test: setup + cargo test + +fmt: + nix fmt + +setup: fetch-fixtures + #!/usr/bin/env bash + set -euo pipefail + if [[ ! -f composer/vendor/autoload.php ]]; then + composer install --no-dev --working-dir=composer + fi + if [[ ! -f scripts/linters/vendor/autoload.php ]]; then + composer install --working-dir=scripts/linters + fi + +fetch-fixtures: + #!/usr/bin/env bash + set -euo pipefail + for fetch in crates/shirabe/tests/plugin/fixtures/*/fetch; do + "$fetch" + done |
