Skip to content

Commit

Permalink
makefile: remove unused or outdated targets
Browse files Browse the repository at this point in the history
  • Loading branch information
fho committed Oct 22, 2024
1 parent 1ba7c1a commit 16c7f3f
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,5 @@ build:
docker build -t $(NAME):$(VERSION) .
docker save $(NAME):$(VERSION) | gzip -9 > build/$(NAME)_$(VERSION).tgz

release:
rm -rf release && mkdir release
go get github.com/progrium/gh-release/...
cp build/* release
gh-release create gliderlabs/$(NAME) $(VERSION) \
$(shell git rev-parse --abbrev-ref HEAD) $(VERSION)

docs:
boot2docker ssh "sync; sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'" || true
docker run --rm -it -p 8000:8000 -v $(PWD):/work gliderlabs/pagebuilder mkdocs serve

circleci:
rm ~/.gitconfig
ifneq ($(CIRCLE_BRANCH), release)
echo build-$$CIRCLE_BUILD_NUM > VERSION
endif

.PHONY: build release docs
.PHONY: build dev

0 comments on commit 16c7f3f

Please sign in to comment.