Skip to content

Commit

Permalink
Merge pull request #3 from OpenVoxProject/build_fix
Browse files Browse the repository at this point in the history
Fix build task to remove unneeded i386 folders
  • Loading branch information
nmburgan authored Feb 14, 2025
2 parents 20111b2 + a140aec commit 0a79cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/build.rake
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace :vox do
puts "Building openvox-server"
run("cd /code && rm -rf ruby && rm -rf output && bundle install --without test && lein install")
run("cd /code && 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")
Dir.glob('output/*i386*').each { |f| FileUtils.rm_rf(f) }
Dir.glob('output/**/*i386*').each { |f| FileUtils.rm_rf(f) }
Dir.glob('output/puppetserver-*.tar.gz').each { |f| FileUtils.mv(f, f.sub('puppetserver','openvox-server'))}
ensure
teardown
Expand Down

0 comments on commit 0a79cf0

Please sign in to comment.