Skip to content

Commit c1ecd9c

Browse files
committed
fix: enhance command output visibility during ezbake installation and local build
1 parent 7e050d1 commit c1ecd9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/build.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ namespace :vox do
3939
run_command("git config --global user.email '[email protected]'; git config --global user.name 'Your Name'")
4040

4141
puts "Installing ezbake from source"
42-
run_command("cd #{ezbake_dir} && lein install")
42+
run_command("cd #{ezbake_dir} && lein install", silent: false, print_command: true)
4343

4444
puts "Building openvox-server"
4545
run_command("rm -rf ruby && rm -rf output && lein install")
46-
run_command("COW=\"#{@debs}\" MOCK=\"#{@rpms}\" GEM_SOURCE='https://rubygems.org' EZBAKE_ALLOW_UNREPRODUCIBLE_BUILDS=true EZBAKE_NODEPLOY=true LEIN_PROFILES=ezbake lein with-profile user,ezbake,provided,internal ezbake local-build")
46+
run_command("COW=\"#{@debs}\" MOCK=\"#{@rpms}\" GEM_SOURCE='https://rubygems.org' EZBAKE_ALLOW_UNREPRODUCIBLE_BUILDS=true EZBAKE_NODEPLOY=true LEIN_PROFILES=ezbake lein with-profile user,ezbake,provided ezbake local-build", silent: false, print_command: true)
4747
run_command("sudo chown -R $USER output", print_command: true)
4848
Dir.glob('output/**/*i386*').each { |f| FileUtils.rm_rf(f) }
4949
Dir.glob('output/puppetserver-*.tar.gz').each { |f| FileUtils.mv(f, f.sub('puppetserver','openvox-server'))}

0 commit comments

Comments
 (0)