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

Need rust installed to install via the trust lib #12

Open
praveenperera opened this issue Nov 27, 2019 · 1 comment
Open

Need rust installed to install via the trust lib #12

praveenperera opened this issue Nov 27, 2019 · 1 comment

Comments

@praveenperera
Copy link

praveenperera commented Nov 27, 2019

install.sh: ERROR need rustc (command not found)

this will work without rust: https://gist.github.com/sjparkinson/327dc78c60ab81a06c946630b4288910

But there is a problem with mktemp on linux #9

I really like the idea of using NPM for distributing binaries. Trust works really well for automating the creation of binaries. But I think we should use a node script to download the releases. I'm running into the same issue trying to distribute rustywind

@praveenperera
Copy link
Author

praveenperera commented Nov 28, 2019

Update I'm downloading the release using this script: https://github.com/avencera/rustywind-npm/blob/master/install.js

And I add the bin line to my package.json:
https://github.com/avencera/rustywind-npm/blob/master/package.json#L20

Doing this means the the binary will be remove during npm uninstall -g or yarn global remove

You also need an empty file that will be replaced with the binary: https://github.com/avencera/rustywind-npm/blob/master/rustywind

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

1 participant