不要怂,就是干,撸起袖子干!

Commit 71c40d61 by Daniel Durante

Default dialect to MySQL and supressed additional echo output in the Makefile.

1 parent bc44a4d7
Showing with 3 additions and 3 deletions
REPORTER ?= dot REPORTER ?= dot
TESTS = $(shell find ./test/* -name "*.test.js") TESTS = $(shell find ./test/* -name "*.test.js")
DIALECT ?= mysql
# test commands # test commands
teaser: teaser:
echo "" && \ @echo "" && \
node -pe "Array(20 + '$(DIALECT)'.length + 3).join('#')" && \ node -pe "Array(20 + '$(DIALECT)'.length + 3).join('#')" && \
echo '# Running tests for $(DIALECT) #' && \ echo '# Running tests for $(DIALECT) #' && \
node -pe "Array(20 + '$(DIALECT)'.length + 3).join('#')" && \ node -pe "Array(20 + '$(DIALECT)'.length + 3).join('#')" && \
echo '' echo ''
test: test:
make teaser && \ @make teaser && \
./node_modules/mocha/bin/mocha \ ./node_modules/mocha/bin/mocha \
--colors \ --colors \
--reporter $(REPORTER) \ --reporter $(REPORTER) \
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!