Skip to content

Commit c1c44f8

Browse files
(DOCSP-17272): pushless stage BI connector
1 parent f9be457 commit c1c44f8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
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+
122
GIT_BRANCH=$(shell git rev-parse --abbrev-ref HEAD)
223
USER=$(shell whoami)
324
STAGING_URL="https://docs-mongodborg-staging.corp.mongodb.com"

0 commit comments

Comments
 (0)