-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathMakefile
41 lines (28 loc) · 887 Bytes
/
Makefile
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
33
34
35
36
37
38
39
all:
@echo "No default target exists"
osm2world:
cd OSM2World && ant jar
dev-aws-install:
install/lambda-update.sh dev
install/cloudformation-update.sh dev
test-aws-install:
install/lambda-update.sh test
install/cloudformation-update.sh test
prod-aws-install:
install/lambda-update.sh prod
@echo 'run: install/cloudformation-update.sh prod'
dev-web-s3-install:
install/web-s3.sh dev
test-web-s3-install:
install/web-s3.sh test
prod-web-s3-install:
@echo 'run: install/web-s3.sh prod'
package:
install/package.sh
test-install-ec2: package
# "tm-ec2" needs to be defined as a Host in ~/.ssh/config
rsync -a --delete --delay-updates -e ssh install/dist/ tm-ec2:touch-mapper/test/dist/
test-restart: package
ssh tm-ec2 touch-mapper/test/dist/ec2-restart-pollers.sh
prod-install-ec2: package
ssh tm-ec2 rsync -a --delete touch-mapper/test/dist touch-mapper/prod/