-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (29 loc) · 1.09 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
##########################################################
# Dotenv
##########################################################
dotenv-pull: ## pull it down
npx dotenv-vault@latest pull
npx dotenv-vault@latest pull production
npx dotenv-vault@latest pull example
dotenv-push: ## push yours up
npx dotenv-vault@latest push
npx dotenv-vault@latest push production
##########################################################
# Git
##########################################################
git-pull: ## git pull
git pull origin
git-set-url: ## git remote set-url origin git@github.com:login/repo.git
git remote set-url origin git@github.com:teratron/rustunumic.git
##########################################################
# Help
##########################################################
.PHONY: help
help:
@awk ' \
BEGIN {FS = ":.*?## "} \
/^[a-zA-Z_-]+:.*?## / \
{printf "\033[36m%-24s\033[0m %s\n", $$1, $$2} \
' \
$(MAKEFILE_LIST)
.DEFAULT_GOAL := help