Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f3be8ac

Browse files
author
Achille Roussel
committed
remove old tools
1 parent 541da3f commit f3be8ac

File tree

4 files changed

+2
-730
lines changed

4 files changed

+2
-730
lines changed

Makefile

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@ platform := $(shell uname)
44
pydeps := pyyaml boto3
55
modules = $(shell ls -1 ./*.tf ./*/*.tf | xargs -I % dirname %)
66

7-
tools := \
8-
./tools/pack-ami \
9-
./tools/roll-ami \
10-
./tools/tfvar-ami
11-
12-
tools := $(patsubst ./tools/%,/usr/local/bin/%,${tools})
13-
147
# The install rule sets up the development environment on the machine it's ran
158
# on.
169
install: install-third-party-tools install-python-dependencies install-tools
@@ -31,22 +24,8 @@ install-python-dependencies:
3124
pip install --upgrade pyyaml boto3
3225
endif
3326

34-
install-tools: $(tools)
35-
36-
/usr/local/bin/%: ./tools/%
37-
install -S -m 0755 $< /usr/local/bin
38-
39-
amis:
40-
pack-ami build -p ./packer -t base -r
41-
42-
plan-ami:
43-
pack-ami plan -p ./packer -t ${template}
44-
45-
validate-ami:
46-
pack-ami validate -p ./packer -t ${template}
47-
48-
build-ami:
49-
pack-ami build -p ./packer -t ${template}
27+
install-tools:
28+
go install ./cmd
5029

5130
test:
5231
@bash scripts/test.sh

0 commit comments

Comments
 (0)