forked from radiantearth/tiles.rdnt.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 772 Bytes
/
Makefile
File metadata and controls
28 lines (20 loc) · 772 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
PATH := node_modules/.bin:$(PATH)
deploy-apex: project.json deps/deps.tgz
apex deploy -l debug -E environment.json
.PHONY: project.json
project.json: project.json.hbs node_modules/.bin/interp
interp < $< > $@
deploy-up: up.json deps/deps.tgz
up $(ENV)
# always build this in case the *environment* changes
.PHONY: up.json
up.json: up.json.hbs node_modules/.bin/interp
interp < $< > $@
node_modules/.bin/interp:
npm install interp
deps/deps.tgz: deps/Dockerfile deps/required.txt
docker run --rm --entrypoint tar $$(docker build --build-arg http_proxy=$(http_proxy) -t marblecutter-virtual-deps -q -f $< .) zc -C /var/task . > $@
clean:
rm -f deps/deps.tgz
server:
docker build --build-arg http_proxy=$(http_proxy) -t quay.io/mojodna/marblecutter-virtual .