Skip to content

Commit

Permalink
Make test be default in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
greyblake committed Jul 11, 2016
1 parent 7a7dc55 commit 998f4b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ dist: trusty
install:
- sudo apt-get install -y libleveldb-dev redis-server memcached
script:
- make test
- crystal spec
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
CRYSTAL_BIN ?= $(shell which crystal)

test:
$(CRYSTAL_BIN) spec

benchmark:
$$(mkdir tmp -p)
$(CRYSTAL_BIN) build --release -o tmp/benchmark ./benchmark.cr $(CRFLAGS)
tmp/benchmark
test:
$(CRYSTAL_BIN) spec

0 comments on commit 998f4b0

Please sign in to comment.