forked from mongodb/docs-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (24 loc) · 643 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (24 loc) · 643 Bytes
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
#!make
MAKEFLAGS += --silent
# This allows us to accept extra arguments (by doing nothing when we get a job that doesn't match,
# rather than throwing an error).
%:
@:
# $(MAKECMDGOALS) is the list of "targets" spelled out on the command line
stagel:
git clone --quiet https://github.com/mongodb/snooty-scripts.git build_scripts
@ cd build_scripts && npm list mongodb || npm install mongodb
@ source ~/.config/.snootyenv && node build_scripts/app.js $(filter-out $@,$(MAKECMDGOALS))
@ rm -rf build_scripts
commit:
@:
local:
@:
repo:
@:
world:
@:
clean:
rm -rf build
.PHONY: stage
.PHONY: clean