Skip to content

Commit 3531c62

Browse files
authored
adding Makefile (#74)
1 parent 62984e6 commit 3531c62

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

Makefile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!make
2+
MAKEFLAGS += --silent
3+
4+
# This allows us to accept extra arguments (by doing nothing when we get a job that doesn't match,
5+
# rather than throwing an error).
6+
%:
7+
@:
8+
9+
# $(MAKECMDGOALS) is the list of "targets" spelled out on the command line
10+
stagel:
11+
git clone --quiet https://github.com/mongodb/snooty-scripts.git build_scripts
12+
@ cd build_scripts && npm list mongodb || npm install mongodb
13+
@ source ~/.config/.snootyenv && node build_scripts/app.js $(filter-out $@,$(MAKECMDGOALS))
14+
@ rm -rf build_scripts
15+
16+
commit:
17+
@:
18+
19+
local:
20+
@:
21+
22+
repo:
23+
@:
24+
25+
world:
26+
@:
27+
28+
clean:
29+
rm -rf build
30+
31+
.PHONY: stage
32+
.PHONY: clean

0 commit comments

Comments
 (0)