Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (15 sloc) 0.396 kb
5f2abd3 @locochris Add Makefile
locochris authored
1 PREFIX ?= /usr/local
2 BINDIR ?= $(PREFIX)/bin
3
4 all: shpec
5
6 release:
6b8a965 @rylnd Update release target to handle leading whitespace
authored
7 sed -i '' "s/^\( *\)VERSION=.*/\1VERSION=`cat VERSION`/" bin/shpec install.sh
33f41e3 @rylnd Simplify 'release' target
authored
8 git add install.sh bin/shpec VERSION
9 git commit -m "Release `cat VERSION`" || true
5f2abd3 @locochris Add Makefile
locochris authored
10 git push origin master
11 git tag `cat VERSION`
12 git push --tags
13
14 install:
f27e6c2 @rylnd Cleanup Makefile for Homebrew
authored
15 mkdir -p $(BINDIR)
16 install bin/shpec $(BINDIR)/
5f2abd3 @locochris Add Makefile
locochris authored
17
18 uninstall:
f27e6c2 @rylnd Cleanup Makefile for Homebrew
authored
19 rm -f $(BINDIR)/shpec
Something went wrong with that request. Please try again.