-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (30 loc) · 1.01 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
all: clean install test docs
install:
@echo "************************"
@echo "* INSTALL DEPENDENCIES *"
@echo "************************"
@npm install --python=/usr/bin/python2.7
test:
@echo "************************"
@echo "* TEST LIBRARY *"
@echo "************************"
@cat .dev-logo
@./node_modules/.bin/mocha --recursive test/*.spec.js
docs:
@echo "************************"
@echo "* CREATE DOCUMENTATION *"
@echo "************************"
@./node_modules/.bin/jsdoc --recurse --destination ./doc lib/*.js lib/transports/*.js README.md
github.io:
@echo "************************"
@echo "* CREATE DOCUMENTATION *"
@echo "* FOR GITHUB.IO *"
@echo "************************"
@./node_modules/.bin/jsdoc --recurse --destination ../christian-raedel.github.io/node-clogger lib/*.js lib/transports/*.js README.md
clean:
@echo "************************"
@echo "* CLEANUP DIRECTORY *"
@echo "************************"
-@rm -rf ./node_modules
-@rm -rf ./doc
.PHONY: all install test docs