Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from buildtool/heck
Browse files Browse the repository at this point in the history
Heck
  • Loading branch information
argoyle authored Nov 12, 2019
2 parents 03101ac + 77d7188 commit 684f60c
Show file tree
Hide file tree
Showing 3 changed files with 426 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ env:

builds:
- id: scaffold
main: ./cmd/scaffold/scaffold.go
main: ./cmd/scaffold.go
binary: scaffold
flags:
- -tags=prod
ldflags:
- -s -w
goos:
- linux
- darwin
Expand Down
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,45 @@
<a href="https://libraries.io/github/buildtool/scaffold"><img alt="" src="https://img.shields.io/librariesio/github/buildtool/scaffold"></a>
</p>

# Setup
You can install the pre-compiled binary (in several different ways) or compile from source.

## Installation pre-built binaries
**Homebrew tap**

```sh
$ brew install buildtool/taps/scaffold
```

**Shell script**
```sh
$ curl -sfL https://raw.githubusercontent.com/buildtool/scaffold/master/install.sh | sh
```
**Manually**

Download the pre-compiled binaries from the [releases](https://github.com/buildtool/scaffold/releases) page and copy to the desired location.

## Compiling from source
```sh

# clone it outside GOPATH
$ git clone https://github.com/buildtool/scaffold
$ cd build-tools

# get dependencies using go modules (needs go 1.11+)
$ go get ./...

# build
$ go build ./cmd

# check it works
./scaffold -version
```



This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
We appreciate your contribution. Please refer to our [contributing guidelines](CONTRIBUTING.md) for further information.


Loading

0 comments on commit 684f60c

Please sign in to comment.