File: install_from_source.sh

package info (click to toggle)
ruby-pathspec 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 236 kB
  • sloc: ruby: 854; makefile: 9; sh: 5
file content (15 lines) | stat: -rwxr-xr-x 298 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

bundle install

# Ensure this build is sane
bundle exec rspec spec

# Ensure there is no existing version
bundle exec gem uninstall pathspec

# Clear old artifacts
rm pathspec-*.gem

# Build and install!
bundle exec gem build pathspec.gemspec && bundle exec gem install pathspec-*.gem