~gbmor/clinte

1e6f1de062771a59d45acd3f7c123c10285b2f3e — Ben Morrison 1 year, 1 month ago 8d0f0b4
removed tag checkout when building
1 files changed, 3 insertions(+), 6 deletions(-)

M Makefile
M Makefile => Makefile +3 -6
@@ 4,9 4,6 @@ BINDIR?=$(_INSTDIR)/bin
DBDIR?=$(_INSTDIR)/clinte

clinte:
	@printf "\n%s\n" "Checking out latest tag..."
	git checkout $(git describe --tags --abbrev=0)

	@printf "\n%s\n" "Building clinte. This may take a minute or two."
	cargo build --release
	@printf "\n%s\n" "...Done!"


@@ 24,10 21,10 @@ update:

	@printf "\n%s\n" "Updating from upstream repository..."
	git pull --rebase
	

	@printf "\n%s\n" "Checking out latest tag..."
	git checkout $(git describe --tags --abbrev=0)
	

	@printf "\n%s\n" "...Done!"

.PHONY: install


@@ 39,7 36,7 @@ install:
	@printf "\n%s\n" "Copying files..."
	install -m755 target/release/clinte $(BINDIR)
	install -m666 clinte.json $(DBDIR)
	

	@printf "\n%s\n" "...Done!"

.PHONY: upgrade