Skip to content

Commit 83a943d

Browse files
(DOCSP-18243): pushless stage k8s
1 parent 1a5c122 commit 83a943d

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
ifeq ($(STAGING_USERNAME),)
324
USER=$(shell whoami)

0 commit comments

Comments
 (0)