Skip to content
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

Add kscript to Homebrew #50

Closed
henrik242 opened this issue Nov 3, 2017 · 7 comments
Closed

Add kscript to Homebrew #50

henrik242 opened this issue Nov 3, 2017 · 7 comments

Comments

@henrik242
Copy link

Homebrew is the most used package manager on macOS: https://brew.sh/

@yschimke
Copy link

yschimke commented Nov 3, 2017

A big +1 to this, it seems like people opted in to homebrew don't have much option e.g. mylibrary -> kscript -> kotlin. I can help set this up, it's just a trivial github repo

e.g. https://github.com/yschimke/homebrew-tap

@henrik242
Copy link
Author

A tap is good, even better to get it added upstream

@yschimke
Copy link

yschimke commented Nov 4, 2017

For now https://github.com/yschimke/homebrew-tap/blob/master/kscript.rb

$ brew install yschimke/tap/kscript

@holgerbrandl
Copy link
Collaborator

Thanks, this looks easier than I thought. We could add this kscript.rb to the release branch of the kscript repo. Would brew be clever enough to update kscript when the files has changed, so can we do something like brew update --include-taps?

@yschimke
Copy link

yschimke commented Nov 4, 2017

IIUC this work via

username/collection/project -> https://github.com/[username]/homebrew-[collection]/blob/master/[project].rb

So it's hard to have it in the same repo you use for development. But you could certainly update the file on every release and then yes, brew will let people know updates are available.

@holgerbrandl
Copy link
Collaborator

I followed your suggestion. See https://github.com/holgerbrandl/kscript/blob/master/README.md#installation-with-homebrew

Feel welcome if there's any issue with my first tap

@yschimke
Copy link

yschimke commented Nov 7, 2017

Worked fine for me!

julioz added a commit to julioz/FloorPlan that referenced this issue Dec 19, 2020
Created a tap in [homebrew-tap](https://github.com/julioz/homebrew-tap) repo and add a release script to continuously update it, following kscripting/kscript#50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants