-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Replace ensure-local-goose #8532
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
base: main
Are you sure you want to change the base?
Changes from all commits
07e55ac
f78b46a
3aa7136
347cc13
3029338
2e0aa82
760e99e
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 |
|---|---|---|
|
|
@@ -74,10 +74,14 @@ test-e2e-all: | |
| # ── Run ────────────────────────────────────────────────────── | ||
|
|
||
| # Start the desktop app in dev mode | ||
| dev: | ||
| dev: build-core | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| if [[ -z "${GOOSE_BIN:-}" ]]; then | ||
| export GOOSE_BIN="$(cargo metadata --format-version 1 | jq -r '.target_directory')/debug/goose" | ||
|
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.
The new default Useful? React with 👍 / 👎. |
||
| fi | ||
|
|
||
| VITE_PORT={{ vite_port }} | ||
| export VITE_PORT | ||
| PROJECT_DIR=$(pwd) | ||
|
|
@@ -104,10 +108,14 @@ dev: | |
| pnpm tauri dev --features app-test-driver --config "$TAURI_CONFIG" | ||
|
|
||
| # Start the desktop app with dev config | ||
| dev-debug: | ||
| dev-debug: build-core | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| if [[ -z "${GOOSE_BIN:-}" ]]; then | ||
| export GOOSE_BIN="$(cargo metadata --format-version 1 | jq -r '.target_directory')/debug/goose" | ||
| fi | ||
|
|
||
| VITE_PORT={{ vite_port }} | ||
| export VITE_PORT | ||
| EXTRA_CONFIG="--config {\"build\":{\"devUrl\":\"http://localhost:${VITE_PORT}\",\"beforeDevCommand\":{\"script\":\"exec ./node_modules/.bin/vite --port ${VITE_PORT} --strictPort\",\"cwd\":\"..\",\"wait\":false}}}" | ||
|
|
@@ -170,3 +178,6 @@ clean: | |
| cherry-pick-goose2 *ARGS: | ||
| git fetch goose2 | ||
| git format-patch -1 {{ARGS}} --stdout | git am --directory=ui/goose2 | ||
|
|
||
| build-core: | ||
| cargo build -p goose-cli --bin goose | ||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.