Skip to content

Commit

Permalink
add build script
Browse files Browse the repository at this point in the history
  • Loading branch information
kamijin-fanta committed Dec 6, 2016
1 parent 9d70ef2 commit 05d3b5a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sakuraio-cli_*
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@

## Install

todo

### Linux
### Linux/BSD

```bash
wget ~~~~~~ -O /usr/local/bin/sakuraio
Expand All @@ -18,6 +16,11 @@ chmod +x /usr/local/bin/sakuraio

リリースページからダウンロード後、exeファイルをパスの通った位置に移動させてください

### Build

```
$ ./build.sh
```

## Uninstall

Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
go get github.com/mitchellh/gox
gox -osarch="linux/amd64" -osarch="linux/arm" -osarch="windows/amd64" -osarch="darwin/amd64" -osarch="freebsd/amd64"
2 changes: 1 addition & 1 deletion lib/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ type Settings struct {
var OverrideSettings Settings = Settings{
APIToken: "",
APISecret: "",
BaseURL: "https://api-dev.sakura.io/",
BaseURL: "",
}

0 comments on commit 05d3b5a

Please sign in to comment.