-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: bash script to download data (#42)
- Loading branch information
Showing
5 changed files
with
660 additions
and
326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.PHONY: default | ||
default: help | ||
|
||
.PHONY: help | ||
help: | ||
@echo "Usage: make <target>" | ||
@echo | ||
@echo "Targets:" | ||
@echo " ci Run all CI steps" | ||
@echo " lint Run all linters" | ||
@echo " lint-shellcheck Run shellcheck linter" | ||
@echo " format Run all formatters" | ||
@echo " format-shellcheck Run shellcheck formatter" | ||
|
||
.PHONY: ci | ||
ci: lint | ||
|
||
.PHONY: lint | ||
lint: lint-shellcheck | ||
|
||
SHELLCHECK_EXCLUDES := SC2012,SC2046,SC2086 | ||
|
||
.PHONY: lint-shellcheck | ||
lint-shellcheck: | ||
shellcheck -e $(SHELLCHECK_EXCLUDES) *.sh | ||
|
||
.PHONY: format | ||
format: format-shellcheck | ||
|
||
.PHONY: format-shellcheck | ||
format-shellcheck: | ||
shellcheck -e $(SHELLCHECK_EXCLUDES) -f diff *.sh | git apply |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.