mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-24 15:04:47 +00:00
Add install target and fix build phony
This commit is contained in:
parent
f9bf52ef10
commit
4fbd337326
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue