Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Arrowana committed Sep 26, 2021
1 parent a78b050 commit 96b7693
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,6 @@ fn docker_build(
fn _build_cwd(idl_out: Option<PathBuf>, slop: Option<Vec<String>>) -> Result<()> {
let exit = std::process::Command::new("cargo")
.arg("build-bpf")
//.arg("--")
.args(slop.unwrap_or(vec![]))
.stdout(Stdio::inherit())
.stderr(Stdio::inherit())
Expand Down Expand Up @@ -2041,18 +2040,6 @@ fn publish(cfg_override: &ConfigOverride, program_name: String) -> Result<()> {
let anchor_package = AnchorPackage::from(program_name.clone(), &cfg)?;
let anchor_package_bytes = serde_json::to_vec(&anchor_package)?;

// Build the program before sending it to the server.
build(
cfg_override,
None,
true,
Some(program_name.clone()),
cfg.solana_version.clone(),
None,
None,
None,
)?;

// Set directory to top of the workspace.
let workspace_dir = cfg.path().parent().unwrap();
std::env::set_current_dir(workspace_dir)?;
Expand Down

0 comments on commit 96b7693

Please sign in to comment.