diff options
author | Luke Kanies <luke@madstop.com> | 2005-08-23 16:13:46 +0000 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2005-08-23 16:13:46 +0000 |
commit | 51294a08463ed4735d73a9d5836f52f92396dfb0 (patch) | |
tree | 82e01d59c1bdbb46c38cb525f68a76942f9622bc | |
parent | 6029ef7812765775306ff8394005c326e359d886 (diff) | |
download | puppet-51294a08463ed4735d73a9d5836f52f92396dfb0.tar.gz puppet-51294a08463ed4735d73a9d5836f52f92396dfb0.tar.xz puppet-51294a08463ed4735d73a9d5836f52f92396dfb0.zip |
moving rake file to the trunk dir
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@577 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r-- | rake-puppet | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/rake-puppet b/rake-puppet new file mode 100644 index 000000000..932ae552f --- /dev/null +++ b/rake-puppet @@ -0,0 +1,23 @@ +#!/bin/bash +# Make temporary build directory, copy target copy of puppet, call rake +USAGE="usage: $0 \"trunk\"|\"tags/<version>\" [rake options]" + +if ! [ $1 ]; then + echo Please specify what puppet version to Rake + echo $USAGE + exit +fi + +echo Puppet Merge/Rake Script: language/$1 library/$1 +TEMP_MAKE_LOCAL_DIR=/tmp/tmp_puppet_rake_$1 + +# Perform cleanup +if [ -d $TEMP_MAKE_LOCAL_DIR ]; then rm -rf $TEMP_MAKE_LOCAL_DIR; fi +mkdir $TEMP_MAKE_LOCAL_DIR + +cp -r language/$1/* $TEMP_MAKE_LOCAL_DIR +cp -r library/$1/* $TEMP_MAKE_LOCAL_DIR +cd $TEMP_MAKE_LOCAL_DIR +shift +rake $@ +pwd; ls; ls pkg |