Add install target and fix build phony

This commit is contained in:
Matthias 2021-06-23 00:14:11 +02:00
parent f9bf52ef10
commit 4fbd337326

View file

@ -18,10 +18,14 @@ docker-run: ## Run Docker image
docker-push: ## Push image to Docker Hub
docker push $(IMAGE_NAME)
.PHONY: build-local
.PHONY: build
build: ## Build Rust code locally
cargo build
.PHONY: install
install: ## Install project locally
cargo install --path lychee-bin
.PHONY: run
run: ## Run Rust code locally
cargo run