Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Shell Completion #48

Merged
merged 8 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .config/ya.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
install:
prog: cargo
args: ["install", "--path", "."]
args: ["install", "--all-features", "--path", "."]
chdir: $GIT_ROOT

lint:
Expand All @@ -19,7 +19,7 @@ format:

build:
prog: cargo
args: ["build", "--release"]
args: ["build", "--release", "--all-features"]

release_patch:
from: $GIT_ROOT/.config/ya/tag.yml
Expand Down
29 changes: 24 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

- name: Cargo Build
if: ${{ ! matrix.use-cross }}
run: cargo build --locked --release --target ${{ matrix.target }}
run: cargo build --locked --release --all-features --target ${{ matrix.target }}

- name: Setup Cross
if: matrix.use-cross
Expand All @@ -71,15 +71,34 @@ jobs:

- name: Cross Build
if: matrix.use-cross
run: cross build --locked --release --target ${{ matrix.target }}
run: cross build --locked --release --all-features --target ${{ matrix.target }}

- name: Compress Binary for Upload
- name: Compress `ya` Binary for Upload
run: |
mv target/${{ matrix.target }}/release/ya ya
tar -czf ya-${{ matrix.target }}.tar.gz ya

- name: Upload tarball
- name: Compress `yadayada` Binary for Upload
run: |
mv target/${{ matrix.target }}/release/yadayada yyadayada
tar -czf yadayada-${{ matrix.target }}.tar.gz ya

- name: Upload `ya` tarball
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target }}
name: ya-${{ matrix.target }}
path: ya-${{ matrix.target }}.tar.gz

- name: Upload `yadayada` tarball
uses: actions/upload-artifact@v3
with:
name: yadayada-${{ matrix.target }}
path: yadayada-${{ matrix.target }}.tar.gz

- name: Upload Completions
uses: actions/upload-artifact@v3
with:
name: completions
path: |
completions/release/*
!completions/release/.gitignore
195 changes: 193 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading