Skip to content

Instantly share code, notes, and snippets.

@mfalade
Created October 17, 2020 09:02
Show Gist options
  • Save mfalade/a249deff2a53bbcd64afecf0afcce0fd to your computer and use it in GitHub Desktop.
Save mfalade/a249deff2a53bbcd64afecf0afcce0fd to your computer and use it in GitHub Desktop.
SHOW_INFO_ICON = $(shell printf "\033[34;1m▶\033[0m")
SHOW_SUCCESS_ICON = $(shell printf "\033[32;1m✔\033[0m")
.PHONY: test
test: setup_env
$(info $(SHOW_INFO_ICON) Initializing test ...)
@echo 'test test test'
$(info $(SHOW_SUCCESS_ICON) Test complete)
.PHONY: setup_env
setup_env:
$(info $(SHOW_INFO_ICON) Setting up environment ...)
@touch .env
@echo TEST_KEY=abc123 > .env
$(info $(SHOW_SUCCESS_ICON) Env setup complete)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment