Skip to content

Commit

Permalink
update op.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Jun 20, 2024
1 parent 9f455c9 commit 709153f
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions op.conf
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
## Script Generation

generate: bashly generate --upgrade && op man
#? regenerate script

watch: op generate --watch
#? watch files and regenerate script on change

## Testing

test: docker compose run test
#? run tests in a container

## Linting

shellcheck: shellcheck rush setup && echo "PASS"
#? run shellcheck tests

shfmt: shfmt -ci -i 2 -d rush setup && echo "PASS"
#? run shfmt tests

## Documentation

man: bashly render :mandoc doc
#? Render the man pages

version: \
sed -i "s/$(rush --version)/$1/g" README.md src/bashly.yml && \
bashly g && \
git commit -am "version bump $1" && \
## Release

version:
sed -i "s/$(rush --version)/$1/g" README.md src/bashly.yml
bashly g
git commit -am "version bump $1"
git tag v$1
#? update version, regenerate and tag
#? usage: op version NEW_VERSION

0 comments on commit 709153f

Please sign in to comment.