sherlock-segment
Version:
Sherlock plugin for Segment integrations
51 lines (36 loc) • 392 B
Plain Text
#
# Environment.
#
NODE ?= node
#
# Binaries.
#
BIN := ./node_modules/.bin
MOCHA := $(BIN)/mocha
ESLINT := $(BIN)/eslint
#
# Test.
#
test: | node_modules
@$(MOCHA)
#
# Lint.
#
lint: | node_modules
@$(ESLINT) .
#
# Node Modules.
#
node_modules: package.json
@npm install
#
# Clean.
#
distclean:
@rm -rf node_modules
#
# Phonies.
#