Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
gkz committed Apr 4, 2020
1 parent 8031861 commit 2bb29e5
Show file tree
Hide file tree
Showing 4 changed files with 1,063 additions and 18 deletions.
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ LIB = $(SRC:src/%.ls=lib/%.js)
LS = node_modules/livescript
LSC = node_modules/.bin/lsc
MOCHA = node_modules/.bin/mocha
MOCHA2 = node_modules/.bin/_mocha
ISTANBUL = node_modules/.bin/istanbul

package.json: package.json.ls
$(LSC) --compile package.json.ls
Expand All @@ -18,17 +16,14 @@ lib:
lib/%.js: src/%.ls lib
$(LSC) --compile --output lib "$<"

.PHONY: build test coverage dev-install loc clean
.PHONY: build test dev-install loc clean

all: build

build: $(LIB) package.json

test: build
$(MOCHA) --reporter dot --ui tdd --require $(LS) "test/*.ls"

coverage: build
$(ISTANBUL) cover $(MOCHA2) -- --reporter dot --ui tdd --require $(LS) "test/*.ls"
$(MOCHA) --ui tdd --require livescript "test/**/*.ls"

dev-install: package.json
npm install .
Expand All @@ -39,4 +34,3 @@ loc:
clean:
rm -f package.json
rm -rf lib
rm -rf coverage
Loading

0 comments on commit 2bb29e5

Please sign in to comment.