diff --git a/.agents/settings.local.json b/.agents/settings.local.json deleted file mode 100644 index 4695063..0000000 --- a/.agents/settings.local.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "permissions": { - "allow": [ - "Bash(find:*)", - "Bash(just fmt-file:*)", - "Bash(just fmt-rs:*)", - "Bash(just check:*)", - "Bash(just check-rs:*)", - "Bash(just check-crate:*)", - "Bash(just clippy:*)", - "Bash(just clippy-crate:*)", - "Bash(just test-local:*)", - "Bash(just test-crate:*)", - "Skill(research-github-project)", - "Bash(test:*)", - "Bash(just --list:*)", - "Bash(grep:*)", - "Bash(just build --help:*)", - "Bash(just check-sh:*)", - "Bash(just fmt-sh:*)", - "Bash(just fmt-sh-check:*)" - ] - } -} diff --git a/ampup/src/commands/build.rs b/ampup/src/commands/build.rs index ea445af..064dcc5 100644 --- a/ampup/src/commands/build.rs +++ b/ampup/src/commands/build.rs @@ -3,7 +3,7 @@ use std::path::PathBuf; use anyhow::Result; use crate::{ - DEFAULT_REPO_PRIVATE, + DEFAULT_REPO, builder::{BuildOptions, BuildSource, Builder}, config::Config, ui, @@ -30,19 +30,19 @@ pub async fn run( (None, Some(repo), None, None, Some(number)) => BuildSource::Pr { repo, number }, (None, Some(repo), None, None, None) => BuildSource::Main { repo }, (None, None, Some(branch), None, None) => BuildSource::Branch { - repo: DEFAULT_REPO_PRIVATE.to_string(), + repo: DEFAULT_REPO.to_string(), branch, }, (None, None, None, Some(commit), None) => BuildSource::Commit { - repo: DEFAULT_REPO_PRIVATE.to_string(), + repo: DEFAULT_REPO.to_string(), commit, }, (None, None, None, None, Some(number)) => BuildSource::Pr { - repo: DEFAULT_REPO_PRIVATE.to_string(), + repo: DEFAULT_REPO.to_string(), number, }, (None, None, None, None, None) => BuildSource::Main { - repo: DEFAULT_REPO_PRIVATE.to_string(), + repo: DEFAULT_REPO.to_string(), }, _ => unreachable!("Clap should prevent conflicting options"), }; diff --git a/ampup/src/lib.rs b/ampup/src/lib.rs index cea1ee0..c6b953f 100644 --- a/ampup/src/lib.rs +++ b/ampup/src/lib.rs @@ -14,8 +14,5 @@ pub mod ui; /// Default GitHub repository for amp releases pub const DEFAULT_REPO: &str = "edgeandnode/amp"; -/// Default GitHub repository for amp development -pub const DEFAULT_REPO_PRIVATE: &str = "edgeandnode/amp-private"; - #[cfg(test)] mod tests;