Project

General

Profile

Download (739 Bytes) Statistics
| Branch: | Tag: | Revision:
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/cdbs/1/rules/debhelper.mk

# Uncomment this to turn on verbose mode.
# DEB_VERBOSE_ALL=1
# DH_VERBOSE=1

build/foreman::
#
# Build the gem cache
#
/bin/cp config/settings.yaml.example config/settings.yaml
/bin/cp config/database.yml.example config/database.yml
# Patch would be nice here, but fsr this gets run twice and patch then breaks
# when applied a second time
/bin/cp debian/patches/libvirt.rb bundler.d/libvirt.rb
/usr/bin/bundle pack --all
/usr/bin/bundle exec rake locale:pack assets:precompile
/bin/rm config/settings.yaml
/bin/rm config/database.yml
# Somehow blank db sqlite files get added
/bin/rm db/production.sqlite3
/bin/rm db/development.sqlite3
(45-45/46)