Skip to content

Instantly share code, notes, and snippets.

@zero-master
Last active June 1, 2018 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zero-master/9534d1493119deacdcad4325634b3329 to your computer and use it in GitHub Desktop.
Save zero-master/9534d1493119deacdcad4325634b3329 to your computer and use it in GitHub Desktop.
#!/bin/bash
ACTIVEMERCHANT_INTEGRATION='bit_pay'
cd ../
WORKING_DIR=`pwd`/plugin-development/$ACTIVEMERCHANT_INTEGRATION
cd killbill-plugin-framework-ruby
if [ -d "$WORKING_DIR" ]; then rm -Rf $WORKING_DIR; fi
./script/generate active_merchant $ACTIVEMERCHANT_INTEGRATION $WORKING_DIR
cd $WORKING_DIR
rm -f Gemfile.lock Jarfile.lock .jbundler/classpath.rb
bundle install
rake killbill:clean ; rake build ; rake killbill:package; rake killbill:deploy[true]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment