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 snapcraft build config #352

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

ad-m
Copy link
Collaborator

@ad-m ad-m commented Jun 22, 2019

Heroku uses Snapcraft for CLI distribution.

For intern TODO:

  • Create flow for package publishing (see CI from snapcraft - https://snapcraft.io/build )
  • Update README how to install published package
  • Update quick starter on website how to install
  • Write rbx-asciicast-gen how to install & use
  • Verify the-right-way for package scoping

To build locally:

docker run -v "$PWD":/build -w /build snapcore/snapcraft:stable snapcraft

To instal locally:

snap install ./h1-cli*.snap --devmode

To use installed locally:

/snap/bin/h1-cli login --username [email protected]

SSH authentication works.

$ ls -lah /snap/bin/
razem 8,0K
drwxr-xr-x 2 root root 4,0K cze 23 01:07 .
drwxr-xr-x 5 root root 4,0K cze 23 00:03 ..
lrwxrwxrwx 1 root root   13 cze 23 01:07 h1-cli -> /usr/bin/snap
lrwxrwxrwx 1 root root   13 cze 23 01:07 h1-cli.rbx-cli -> /usr/bin/snap

@ad-m ad-m added this to the 1.7.0 milestone Jun 22, 2019
@fredericosilva fredericosilva changed the base branch from master to develop July 15, 2019 12:20
@fredericosilva fredericosilva modified the milestones: 1.7.0, 2.0 Jul 15, 2019
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

Successfully merging this pull request may close these issues.

2 participants