Project

General

Profile

« Previous | Next » 

Revision 9ce0849e

Added by Greg Sutcliffe over 11 years ago

New vendored-gems buildfiles for nightly

View differences:

debian/squeeze/nightly/foreman/rules
include /usr/share/cdbs/1/rules/debhelper.mk
# Uncomment this to turn on verbose mode.
#DEB_VERBOSE_ALL=1
#DH_VERBOSE=1
# DEB_VERBOSE_ALL=1
# DH_VERBOSE=1
binary-install/foreman::
# Cleanup unused files
find debian/foreman -name '.cvsignore' -type f | xargs rm -f
find debian/foreman -name '.gitignore' -type f | xargs rm -f
find debian/foreman -name '.git' -type d | xargs rm -rf
find debian/foreman -name '.svn' -type d | xargs rm -rf
# Mark scripts as executable
# Patch environments.rb - necessary since changing source format to 3.0 (native)
# patch -p0 debian/foreman/usr/share/foreman/config/environment.rb debian/patches/01_gem_dependencies.patch
build/foreman::
#
# Build the gem cache
#
/bin/cp config/settings.yaml.example config/settings.yaml
/usr/bin/bundle pack --all
/bin/rm config/settings.yaml
if [ -f patch.done ] ; then echo "skip patch" ; else \
/usr/bin/patch -p0 Gemfile debian/01_gem_dependencies.patch && touch patch.done ; fi

Also available in: Unified diff