Don't include assert.sh or stub.sh in git repo

Have make-file download them when running make test.
This commit is contained in:
2014-03-16 01:08:00 +00:00
parent ae9a78a9fd
commit 21c25b3d6c
4 changed files with 21 additions and 177 deletions

View File

@@ -1,8 +1,24 @@
test: build prepare
./test.sh
build:
./build.sh
test: build
./test.sh
prepare: prepare-assert.sh prepare-stub.sh
prepare-assert.sh:
test -f "test/assert.sh" || ( \
echo "fetching assert.sh..." && \
curl -s -L -o test/assert.sh \
https://raw.github.com/lehmannro/assert.sh/master/assert.sh \
)
prepare-stub.sh:
test -f "test/stub.sh" || ( \
echo "fetching stub.sh..." && \
curl -s -L -o test/stub.sh \
https://raw.github.com/jimeh/stub.sh/master/stub.sh \
)
.SILENT:
.PHONY: build test
.PHONY: build test prepare preare-assert.sh prepare-stub.sh