Revision 4fc7db81
Added by Michael Moll about 4 years ago
debian/bionic/foreman/rules | ||
---|---|---|
/bin/rm -f bundler.d/test.rb bundler.d/development.rb
|
||
BUNDLE_BUILD__SASSC=--disable-march-tune-native BUNDLE_RETRY=5 BUNDLE_JOBS=4 /usr/bin/bundle package
|
||
/usr/bin/npm install --no-audit --no-optional --unsafe-perm
|
||
/bin/mv db/schema.rb.nulldb db/schema.rb
|
||
/bin/cp db/schema.rb.nulldb db/schema.rb
|
||
/usr/bin/bundle exec rake locale:pack RAILS_ENV=production
|
||
/usr/bin/bundle exec rake assets:precompile RAILS_ENV=production DATABASE_URL=nulldb://nohost
|
||
/usr/bin/bundle exec rake webpack:compile DATABASE_URL=nulldb://nohost
|
||
/usr/bin/bundle exec rake apipie:cache cache_part=resources --trace RAILS_ENV=production DATABASE_URL=nulldb://nohost
|
||
/bin/rm -f bundler.d/nulldb.rb db/schema.rb
|
||
/bin/rm -f db/schema.rb
|
||
/bin/sed -ri '1sXenv rubyXenv foreman-rubyX' bin/*
|
||
/bin/sed -ri 's~^BUNDLER_CMD=""~BUNDLER_CMD="/usr/bin/foreman-ruby /usr/bin/bundle exec"~' script/foreman-rake
|
||
/bin/sed -ri '/^ExecStart/ s#=#=/usr/bin/bundle exec --keep-file-descriptors #' extras/systemd/foreman.service
|
Also available in: Unified diff
create foreman-nulldb package