File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,24 +151,20 @@ cli-fingerprint:
151151 find test/cli/test-fixtures/image-* -type f -exec md5sum {} + | awk ' {print $1}' | sort | md5sum | tee test/cli/test-fixtures/cache.fingerprint && echo " $( CLI_CACHE_BUSTER) " >> test/cli/test-fixtures/cache.fingerprint
152152
153153.PHONY : cli
154- cli : $(SNAPSHOT_DIR ) # # Run CLI tests
155- chmod 755 " $( SNAPSHOT_BIN) "
156- SYFT_BINARY_LOCATION=' $(SNAPSHOT_BIN)' \
157- go test -count=1 -v ./test/cli
158-
159- $(SNAPSHOT_DIR ) : $(TEMP_DIR ) # # Build snapshot release binaries and packages
154+ cli :
160155 $(call title,Building snapshot artifacts)
161- # create a config with the dist dir overridden
162156 echo " dist: $( SNAPSHOT_DIR) " > $(TEMP_DIR ) /goreleaser.yaml
163157 cat .goreleaser.yaml >> $(TEMP_DIR ) /goreleaser.yaml
164-
165158 $(SNAPSHOT_CMD ) --config $(TEMP_DIR ) /goreleaser.yaml
166159
167-
168160.PHONY : install-snapshot
169161install-snapshot :
170162 cp $(SNAPSHOT_BIN ) ~ /.docker/cli-plugins/
171163
164+ .PHONY : install
165+ install : cli
166+ cp $(SNAPSHOT_BIN ) ~ /.docker/cli-plugins/
167+
172168.PHONY : changelog
173169changelog : clean-changelog CHANGELOG.md
174170 @docker run -it --rm \
You can’t perform that action at this time.
0 commit comments