File: install_from_source.sh

package info (click to toggle)
ruby-pathspec 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 248 kB
  • sloc: ruby: 1,037; makefile: 9; sh: 5
file content (15 lines) | stat: -rwxr-xr-x 298 bytes parent folder | download | duplicates (2)
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