File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,16 @@ WORKSPACE = /go/src/github.com/hanks/terraform-variables-generator
44DEV_IMAGE = hanks/tfvargen-dev:1.0.0
55OS = $(shell uname -s | tr '[:upper:]' '[:lower:]')
66
7- .PHONY : dev push build test debug install uninstall clean
7+ .PHONY : dev run push build test debug install uninstall clean
88
99default : test
1010
1111dev :
1212 docker build -t $(DEV_IMAGE ) .
1313
14+ run :
15+ docker run -it --rm -v $(CUR_DIR ) :$(WORKSPACE ) $(DEV_IMAGE ) go run main.go tests
16+
1417push :
1518 docker push $(DEV_IMAGE )
1619
Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ variable "tags" {
181181## Development
182182
183183* ` make test ` , run unit test, coverage test, static analytics
184+ * ` make run ` , run program to generate ` variables.tf ` in ` tests ` directory
184185* ` make build ` , cross compile binaries, and put into ` dist/bin ` directory
185186* ` make debug ` , use ` dlv ` to do the ` gdb-style ` debug
186187* ` make dev ` , build docker image used in dev
You can’t perform that action at this time.
0 commit comments