Skip to content

Commit

Permalink
Fix references to ktlint-cli module (previously 'ktlint' module)
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-dingemans committed Apr 21, 2023
1 parent d8f8073 commit 6699073
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
prerelease: false
body : ${{ steps.release_notes.outputs.release_notes }}
files: |
ktlint/build/run/*
ktlint-cli/build/run/*
env :
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .homebrew
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
if [ "$VERSION" == "" ]; then exit 1; fi

brew update
shasum -a 256 ./ktlint/build/run/ktlint | awk -v new_version="$VERSION" '{system(sprintf("brew bump-formula-pr --url=\"https://github.com/pinterest/ktlint/releases/download/%s/ktlint\" --sha256=\"%s\" ktlint", new_version, $1))}'
shasum -a 256 ./ktlint-cli/build/run/ktlint | awk -v new_version="$VERSION" '{system(sprintf("brew bump-formula-pr --url=\"https://github.com/pinterest/ktlint/releases/download/%s/ktlint\" --sha256=\"%s\" ktlint", new_version, $1))}'
2 changes: 1 addition & 1 deletion RELEASE_TESTING.MD
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Before releasing a new version of KtLint, the release candidate is tested on a s
Note that `~/git/ktlint` is the directory in which the ktlint project is checked out and that `~/git/ktlint/ktlint` refers to the `ktlint` CLI-module.
5. Create an alias or script to run the latest development-version of ktlint (note that this script will print the version and the datetime of compilation as reference to which version is used):
```shell
alias ktlint-dev="echo 'ktlint-dev version:';ls -aslh ~/git/ktlint/ktlint/build/run/ktlint;echo ' ';~/git/ktlint/ktlint/build/run/ktlint $@"
alias ktlint-dev="echo 'ktlint-dev version:';ls -aslh ~/git/ktlint/ktlint/build-cli/run/ktlint;echo ' ';~/git/ktlint/ktlint/build/run/ktlint $@"
```
Note that `~/git/ktlint` is the directory in which the ktlint project is checked out and that `~/git/ktlint/ktlint` refers to the `ktlint` CLI-module.

Expand Down

0 comments on commit 6699073

Please sign in to comment.