-
Notifications
You must be signed in to change notification settings - Fork 0
Add worktree picker mode #2
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - "v*" | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| jobs: | ||
| create-release: | ||
| name: Create Release | ||
| if: startsWith(github.ref, 'refs/tags/v') | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Create GitHub release | ||
| uses: taiki-e/create-gh-release-action@v1 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| upload-binaries: | ||
| name: Build ${{ matrix.target }} | ||
| if: startsWith(github.ref, 'refs/tags/v') | ||
| needs: create-release | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - os: ubuntu-latest | ||
| target: x86_64-unknown-linux-musl | ||
| build-tool: cargo-zigbuild | ||
| - os: macos-26 | ||
| target: aarch64-apple-darwin | ||
| build-tool: cargo | ||
| - os: windows-latest | ||
| target: x86_64-pc-windows-msvc | ||
| build-tool: cargo | ||
|
Comment on lines
+39
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Consider adding an x86_64-apple-darwin target for Intel Mac users. The matrix only includes - os: macos-15-intel
target: x86_64-apple-darwin
build-tool: cargoIf this omission is intentional (e.g., Intel Macs are being phased out), no action needed. 🤖 Prompt for AI Agents |
||
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install Rust toolchain | ||
| uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| toolchain: 1.90 | ||
| targets: ${{ matrix.target }} | ||
|
|
||
| - name: Upload release archive | ||
| uses: taiki-e/upload-rust-binary-action@v1 | ||
| with: | ||
| bin: wisp | ||
| package: wisp | ||
| manifest-path: crates/wisp-bin/Cargo.toml | ||
| target: ${{ matrix.target }} | ||
| archive: wisp-$target | ||
| build-tool: ${{ matrix.build-tool }} | ||
| include: README.md LICENSE | ||
| checksum: sha256 | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2026 Emma | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,17 @@ | ||
| [package] | ||
| name = "wisp-app" | ||
| version = "0.1.0" | ||
| edition = "2024" | ||
| version.workspace = true | ||
| edition.workspace = true | ||
| rust-version.workspace = true | ||
| license.workspace = true | ||
| repository.workspace = true | ||
| description = "application state assembly for Wisp" | ||
|
|
||
| [dependencies] | ||
| wisp-config = { path = "../wisp-config" } | ||
| wisp-core = { path = "../wisp-core" } | ||
| wisp-tmux = { path = "../wisp-tmux" } | ||
| wisp-zoxide = { path = "../wisp-zoxide" } | ||
| wisp-config.workspace = true | ||
| wisp-core.workspace = true | ||
| wisp-tmux.workspace = true | ||
| wisp-zoxide.workspace = true | ||
|
|
||
| [lints] | ||
| workspace = true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,25 +1,38 @@ | ||
| [package] | ||
| name = "wisp-bin" | ||
| version = "0.1.0" | ||
| edition = "2024" | ||
| name = "wisp" | ||
| version.workspace = true | ||
| edition.workspace = true | ||
| rust-version.workspace = true | ||
| license.workspace = true | ||
| repository.workspace = true | ||
| description = "tmux-aware workspace navigator and status UI" | ||
|
|
||
| [[bin]] | ||
| name = "wisp" | ||
| path = "src/main.rs" | ||
|
|
||
| [package.metadata.binstall] | ||
| pkg-url = "{ repo }/releases/download/v{ version }/{ bin }-{ target }.{ archive-format }" | ||
| pkg-fmt = "tar.gz" | ||
| bin-dir = "{ bin }{ binary-ext }" | ||
|
|
||
| [package.metadata.binstall.overrides.x86_64-pc-windows-msvc] | ||
| pkg-fmt = "zip" | ||
| bin-dir = "{ bin }.exe" | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
|
|
||
| [dependencies] | ||
| argh = "0.1" | ||
| crossterm.workspace = true | ||
| ratatui.workspace = true | ||
| wisp-app = { path = "../wisp-app" } | ||
| wisp-config = { path = "../wisp-config" } | ||
| wisp-core = { path = "../wisp-core" } | ||
| wisp-fuzzy = { path = "../wisp-fuzzy" } | ||
| wisp-preview = { path = "../wisp-preview" } | ||
| wisp-status = { path = "../wisp-status" } | ||
| wisp-tmux = { path = "../wisp-tmux" } | ||
| wisp-ui = { path = "../wisp-ui" } | ||
| wisp-zoxide = { path = "../wisp-zoxide" } | ||
| wisp-app.workspace = true | ||
| wisp-config.workspace = true | ||
| wisp-core.workspace = true | ||
| wisp-fuzzy.workspace = true | ||
| wisp-preview.workspace = true | ||
| wisp-status.workspace = true | ||
| wisp-tmux.workspace = true | ||
| wisp-ui.workspace = true | ||
| wisp-zoxide.workspace = true | ||
|
|
||
| [lints] | ||
| workspace = true | ||
Uh oh!
There was an error while loading. Please reload this page.