-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(binary): rename instill to inst (#191)
Because - to keep the binary name short This commit - rename `instill` to `inst`
- Loading branch information
Showing
41 changed files
with
136 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,4 @@ jobs: | |
run: go test -race ./... | ||
|
||
- name: Build | ||
run: go build -v ./cmd/instill | ||
run: go build -v ./cmd/inst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
project_name: instill | ||
project_name: inst | ||
|
||
release: | ||
prerelease: auto | ||
|
@@ -15,8 +15,8 @@ before: | |
|
||
builds: | ||
- <<: &build_defaults | ||
binary: bin/instill | ||
main: ./cmd/instill | ||
binary: bin/inst | ||
main: ./cmd/inst | ||
ldflags: | ||
- -s -w | ||
- -X github.com/instill-ai/cli/internal/build.Version={{ .Version }} | ||
|
@@ -76,16 +76,16 @@ brews: | |
- tap: | ||
owner: instill-ai | ||
name: homebrew-tap | ||
description: Instill AI's official command-line tool | ||
description: Instill AI's command-line tool | ||
homepage: https://github.com/instill-ai/cli | ||
license: "Apache-2.0" | ||
commit_author: | ||
name: droplet-bot | ||
email: [email protected] | ||
install: | | ||
bin.install "bin/instill" | ||
(bash_completion/"instill").write `#{bin}/instill completion -s bash` | ||
(fish_completion/"instill.fish").write `#{bin}/instill completion -s fish` | ||
(zsh_completion/"_instill").write `#{bin}/instill completion -s zsh` | ||
bin.install "bin/inst" | ||
(bash_completion/"inst").write `#{bin}/inst completion -s bash` | ||
(fish_completion/"inst.fish").write `#{bin}/inst completion -s fish` | ||
(zsh_completion/"_inst").write `#{bin}/inst completion -s zsh` | ||
test: | | ||
assert_match "instill version #{version}", shell_output("#{bin}/instill --version") | ||
assert_match "inst version #{version}", shell_output("#{bin}/inst --version") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.