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.yaml #305

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: grip
base: core18 # the base snap is the execution environment for this snap
version: 4.5.2
summary: GitHub Readme Instant Preview
description: |
Render local readme files before sending off to GitHub.

Grip is a command-line server application written in Python that uses the
GitHub markdown API to render a local readme file. The styles and
rendering come directly from GitHub, so you'll know exactly how it will
appear. Changes you make to the Readme will be instantly reflected in the
browser without requiring a page refresh.

grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots

parts:
grip:
# See 'snapcraft plugins'
plugin: python
source: .
python-version: python3

apps:
grip:
command: bin/grip
plugs:
- home
- network-bind
- desktop # so can launch browser