mirror of
https://github.com/chenasraf/git-open.git
synced 2026-05-18 01:38:59 +00:00
build: update Makefile
This commit is contained in:
20
Makefile
20
Makefile
@@ -9,15 +9,15 @@ all: help
|
||||
test:
|
||||
./test
|
||||
|
||||
# Update snapshots by running the update_snapshot.zsh script
|
||||
.PHONY: update-snapshots
|
||||
update-snapshots:
|
||||
# Update snapshot by running the update_snapshot.zsh script
|
||||
.PHONY: update-snapshot
|
||||
update-snapshot:
|
||||
./tests/update_snapshot.zsh
|
||||
|
||||
# Update the README by running the update_readme_help.zsh script
|
||||
.PHONY: update-readme
|
||||
update-readme:
|
||||
./tools/update_readme_help.zsh
|
||||
./tools/update_readme_help.zsh $(ARGS)
|
||||
|
||||
# Install the pre-commit hook
|
||||
.PHONY: install-pre-commit
|
||||
@@ -36,9 +36,11 @@ clean:
|
||||
.PHONY: help
|
||||
help:
|
||||
@echo "Usage:"
|
||||
@echo " make test # Run the test script"
|
||||
@echo " make update-snapshots # Run the update_snapshot.zsh script"
|
||||
@echo " make update-readme # Run the update_readme_help.zsh script"
|
||||
@echo " make install-pre-commit # Install the pre-commit hook"
|
||||
@echo " make clean # Clean"
|
||||
@echo " make test Run the test script"
|
||||
@echo " make update-snapshot Run the update_snapshot.zsh script"
|
||||
@echo " make update-readme Run the update_readme_help.zsh script,"
|
||||
@echo " Use \`ARGS=-u make update-readme\` to"
|
||||
@echo " also update snapshot."
|
||||
@echo " make install-pre-commit Install the pre-commit hook"
|
||||
@echo " make clean Clean"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user