New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary downloads #31

Open
calebmer opened this Issue Feb 19, 2016 · 6 comments

Comments

Projects
None yet
5 participants
@calebmer

calebmer commented Feb 19, 2016

One of this repository's proposed benefits as written in the readme: "Reflex has no dependencies. No need to install Ruby or anything like that." Yet the instillation reads:

$ go get github.com/cespare/reflex

I don't want to install go to use this library. Could this dependency be removed with binary downloads?

@cespare

This comment has been minimized.

Show comment
Hide comment
@cespare

cespare Feb 19, 2016

Owner

The README also says

TODO: provide compiled downloads for linux/darwin amd64.

But I've never gotten around to it, mostly because I have no need for this. Do you have a suggested method? I've considered using Bintray.

Owner

cespare commented Feb 19, 2016

The README also says

TODO: provide compiled downloads for linux/darwin amd64.

But I've never gotten around to it, mostly because I have no need for this. Do you have a suggested method? I've considered using Bintray.

@calebmer

This comment has been minimized.

Show comment
Hide comment
@calebmer

calebmer Feb 20, 2016

GitHub releases are preferable as that's where I generally check first.

calebmer commented Feb 20, 2016

GitHub releases are preferable as that's where I generally check first.

@cespare

This comment has been minimized.

Show comment
Hide comment
@cespare

cespare Feb 20, 2016

Owner

Ah, I forgot that GH releases can included binaries. Good idea.

Owner

cespare commented Feb 20, 2016

Ah, I forgot that GH releases can included binaries. Good idea.

@cescoferraro

This comment has been minimized.

Show comment
Hide comment
@cescoferraro

cescoferraro Oct 11, 2016

@calebmer just uploaded some to my fork. compiled them with gox.
https://github.com/cescoferraro/reflex/releases/tag/v0.1.0

@cespare go get its not cacheble inside a Dockerfile there is a actual need for them on this repo

cescoferraro commented Oct 11, 2016

@calebmer just uploaded some to my fork. compiled them with gox.
https://github.com/cescoferraro/reflex/releases/tag/v0.1.0

@cespare go get its not cacheble inside a Dockerfile there is a actual need for them on this repo

@sagikazarmark

This comment has been minimized.

Show comment
Hide comment
@sagikazarmark

sagikazarmark Feb 14, 2017

I would consider using https://github.com/goreleaser/goreleaser

It's quite awesome and integrates nicely into the CI workflow.

sagikazarmark commented Feb 14, 2017

I would consider using https://github.com/goreleaser/goreleaser

It's quite awesome and integrates nicely into the CI workflow.

@issmirnov

This comment has been minimized.

Show comment
Hide comment
@issmirnov

issmirnov Jul 24, 2018

Here's a sample goreleaser config that would work well for this repo:

build:
  main: .
  binary: reflex
  goos:
    - darwin
    - linux
archive:
  replacements:
    amd64: 64-bit
    386: 32-bit
    darwin: MacOS
    linux: Linux
  files:
    - README.md
    - LICENSE

You can install goreleaser on your system with brew install goreleaser/tap/goreleaser or a manual download from https://github.com/goreleaser/goreleaser/releases.

Once you do that, you can run the following workflow:

export GITHUB_TOKEN=`YOUR_TOKEN` # Get this at https://github.com/settings/tokens
git tag -a v1.2.3 -m "your release message"
git push origin --tags
goreleaser

There is also Travis Integration.


This would be very much appreciated by many users who don't have the full go toolkit installed. I'm sure @sagikazarmark would be happy to answer any questions, as am I.

issmirnov commented Jul 24, 2018

Here's a sample goreleaser config that would work well for this repo:

build:
  main: .
  binary: reflex
  goos:
    - darwin
    - linux
archive:
  replacements:
    amd64: 64-bit
    386: 32-bit
    darwin: MacOS
    linux: Linux
  files:
    - README.md
    - LICENSE

You can install goreleaser on your system with brew install goreleaser/tap/goreleaser or a manual download from https://github.com/goreleaser/goreleaser/releases.

Once you do that, you can run the following workflow:

export GITHUB_TOKEN=`YOUR_TOKEN` # Get this at https://github.com/settings/tokens
git tag -a v1.2.3 -m "your release message"
git push origin --tags
goreleaser

There is also Travis Integration.


This would be very much appreciated by many users who don't have the full go toolkit installed. I'm sure @sagikazarmark would be happy to answer any questions, as am I.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment