Skip to content

Commit

Permalink
Use .env on Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrabera committed Feb 16, 2017
1 parent ccf4c97 commit 05c72a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
include .env
export $(shell sed 's/=.*//' .env)

all: lint test
.PHONY: all

Expand All @@ -8,5 +11,5 @@ lint:

test:
@echo "Running tests..."
@go test ./...
@go test -v ./...
.PHONY: test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $ make lint

### Testing

The project contains integration tests that uses the Zendesk API. To execute them the following environment variables must be available:
The project contains integration tests that uses the Zendesk API. To execute them you must provide the following values in a `.env` file:

```
ZENDESK_DOMAIN=<your-zendesk-domain>
Expand Down

0 comments on commit 05c72a9

Please sign in to comment.