Skip to content
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
24 changes: 0 additions & 24 deletions .agents/settings.local.json

This file was deleted.

10 changes: 5 additions & 5 deletions ampup/src/commands/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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"),
};
Expand Down
3 changes: 0 additions & 3 deletions ampup/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;