Makefile (fpm-1.13.1) | : | Makefile (fpm-1.14.0) | ||
---|---|---|---|---|
skipping to change at line 55 | skipping to change at line 55 | |||
.PHONY: install | .PHONY: install | |||
install: $(GEM) | install: $(GEM) | |||
gem install $(GEM) | gem install $(GEM) | |||
.PHONY: | .PHONY: | |||
clean: | clean: | |||
rm -rf package-*/ *.rpm *.deb *.gz *.tar *.gem .yardoc/ | rm -rf package-*/ *.rpm *.deb *.gz *.tar *.gem .yardoc/ | |||
publish-docs: | publish-docs: | |||
$(MAKE) -C docs publish | $(MAKE) -C docs publish | |||
release-prep: | ||||
rm -f docs/changelog_links.rst docs/cli-reference.rst | ||||
make -C docs changelog_links.rst cli-reference.rst package-type-cli | ||||
# Testing in docker. | ||||
# The dot file is a sentinal file that will built a docker image, and tag it. | ||||
# The normal make target runs said image, mounting CWD against it. | ||||
SECONDARY: .docker-test-minimal .docker-test-everything | ||||
.docker-test-%: Gemfile.lock fpm.gemspec Dockerfile | ||||
DOCKER_BUILDKIT=1 docker build -t fpm-test-$* --build-arg BASE_ENV=$* -- | ||||
build-arg TARGET=test . | ||||
touch "$@" | ||||
docker-test-%: .docker-test-% | ||||
docker run -v `pwd`:/src fpm-test-$* | ||||
docker-release-%: | ||||
DOCKER_BUILDKIT=1 docker build -t fpm --build-arg BASE_ENV=$* --build-ar | ||||
g TARGET=release --squash . | ||||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 0 lines changed or added |