Skip to content

Commit ee69a48

Browse files
skerschbkay-kim
authored andcommitted
use this push
1 parent e50a445 commit ee69a48

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Makefile

+24
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
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 install
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+
clean:
23+
rm -rf build
24+
125
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
226
USER=`whoami`
327
STAGING_URL="https://docs-mongodborg-staging.corp.mongodb.com"

0 commit comments

Comments
 (0)