Skip to content

Commit

Permalink
Add install.sh script (#6)
Browse files Browse the repository at this point in the history
* Add install.sh script

* Add binary installation command in README.md
  • Loading branch information
PrasadG193 authored Aug 5, 2019
1 parent 7ca1110 commit dcecf3c
Show file tree
Hide file tree
Showing 2 changed files with 398 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ Converts YAML specs into Go type definitions

## Installation

### Binary Installation

Pre-compiled binaries are available on the releases page. You can use the install.sh script to automatically install one for your local platform:

```bash
$ curl https://raw.githubusercontent.com/PrasadG193/yaml2go/release/install.sh | sh
```


### Install From Source

#### Step 1: Clone the repo
```bash
$ git clone https://github.com/PrasadG193/yaml2go.git $GOPATH/src/github.com/PrasadG193/yaml2go
Expand Down
Loading

0 comments on commit dcecf3c

Please sign in to comment.