Sha256: 1c34d95934e46f78bf16c96bec6b92a991d4eeda67d6712bdfdbfe107c133878

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

#!/usr/bin/env bash
set -x
set -e

ruby=ruby2.2
version=$(cat VERSION)

rm -rf etc
rm -rf tmp
rm -rf .bundle
rm -rf .vagrant

bundle update
bundle package --all --all-platforms

bundle exec fpm -n robit \
  --after-install tasks/package/post-install.sh \
  --after-upgrade tasks/package/post-install.sh \
  -d "$ruby" -d "$ruby-dev" \
  -d libxml2 -d libxml2-dev -d libxslt1-dev -d zlib1g-dev \
  -s dir -t deb -v "$version" \
  tasks/package/robit.sh=/usr/local/bin/robit \
  ./=/opt/robit

# gem uninstall -aIx
# dpkg -i *.deb
# ls -la /opt/robit
# robit art
# robit version

mkdir -p /artifacts
mv *.deb /artifacts

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
robit-1.0.5 tasks/package/_package.sh