Skip to content

Commit

Permalink
Updated README and added Makefile, .travis.yml and .gorelease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dnna committed Aug 29, 2017
1 parent e6fd137 commit c5b7ac3
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Build customization
builds:
- binary: terraform-provider-auth0
goos:
- windows
- darwin
- linux
goarch:
- amd64
- 386
ignore:
- goos: darwin
goarch: 386

# Archive customization
archive:
format: zip

replacements:
amd64: 64-bits
386: 32-bits
darwin: macOS

files:
- nothing.*
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: go
go:
- 1.8.x

sudo: false

install:
- go get ./...

script:
- make test

after_success:
- test ${TRAVIS_TAG:0:1} = v && curl -sL https://git.io/goreleaser | bash

notifications:
email: false
15 changes: 15 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
SOURCES = $(wildcard **/*.go)

.PHONY: test
test:
go test ./...

terraform-provider-auth0: $(SOURCES)
go build ./...

.PHONY: build
build: terraform-provider-auth0

.PHONY: install
install: terraform-provider-auth0
mv terraform-provider-auth0 $(shell dirname $(shell which terraform))
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ A custom provider for terraform.
Provides an auth0 client

```hcl
provider "auth0" {
domain = "abc.eu.auth0.com"
access_token = "management.access.token"
}
resource "auth0_client" "test-client" {
name = "p-test-dev2"
is_token_endpoint_ip_header_trusted = true
Expand Down

0 comments on commit c5b7ac3

Please sign in to comment.