Skip to content

Commit

Permalink
Add cross platform building cofiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcnunes committed Nov 28, 2015
1 parent 73980ee commit 5396f54
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
go-peerflix
builds
14 changes: 14 additions & 0 deletions .goxc.json
@@ -0,0 +1,14 @@
{
"ArtifactsDest": "builds",
"Tasks": [
"xc"
],
"BuildConstraints": "linux, windows, darwin",
"PackageVersion": "1.0.0",
"TaskSettings": {
"xc": {
"GOARM": "7"
}
},
"ConfigVersion": "0.9"
}
16 changes: 16 additions & 0 deletions README.md
Expand Up @@ -23,5 +23,21 @@ To start playing in VLC:
go-peerflix -vlc [magnet url|torrent path|torrent url]
```

## Build

Building only for the current platform:

```bash
go build .
```


Building for platforms: Linux, Darwin and Windows

```bash
goxc
```


## License
[MIT](https://raw.githubusercontent.com/Sioro-Neoku/go-peerflix/master/LICENSE)

0 comments on commit 5396f54

Please sign in to comment.