Skip to content

Instantly share code, notes, and snippets.

@miah
Created September 2, 2016 19:27
Show Gist options
  • Save miah/15ac4ddd951f1723237739b356c1db27 to your computer and use it in GitHub Desktop.
Save miah/15ac4ddd951f1723237739b356c1db27 to your computer and use it in GitHub Desktop.
export RBENV_VERSION=2.3.x
.PHONY: test clean
clean:
rm -rf ci4
.bundle_install:
bundle install
touch .bundle_install
test: .bundle_install
bundle exec ruby -Ilib -e 'ARGV.each { |f| require f }' ./test/test*.rb
ci4/build:
mkdir -p ci4/build
cp Gemfile Gemfile.lock ci4/build/
cp -Rv *.mustache bin config ci4/build/
echo '2.3.x' > ci4/build/.ruby-version
cd ci4/build && bundle install --path='./vendor'
ls -al ci4/build/
build:
true
deploy.tgz: ci4/build
tar -C ci4/build -czf $@ .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment