Skip to content

Commit

Permalink
feat(prj): add just tasks for release management
Browse files Browse the repository at this point in the history
  • Loading branch information
montchr committed Jun 20, 2024
1 parent e15e93c commit 2509053
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,27 @@ prj-title := env('KWG_PROJECT_TITLE')
default:
@just --choose

# {{{ Release Management:

[group: "releases"]
[doc: "Release a release"]
release *ARGS='--auto':
cog bump {{ARGS}}

[group: "releases"]
test-release *ARGS='--auto':
cog bump --dry-run {{ARGS}}

# }}}

# {{{ Checkers, Fixers, Formatters, and Linters

[group: "qa"]
[doc: "Check for any lint or formatting issues on project files"]
check:
-biome check {{prj-root}}
-composer lint

[group: "qa"]
[doc: "Check for (non-stylistic) linting issues on project files"]
lint:
Expand All @@ -42,6 +63,8 @@ fmt:
biome format --write {{prj-root}}
composer ecs -- --fix

# }}}

[group: "php"]
[doc: "Rebuild the Phpactor project index"]
reindex:
Expand Down

0 comments on commit 2509053

Please sign in to comment.