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 a snap #69

Open
wants to merge 1 commit 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 33 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: terjira
base: core18
version: git
summary: Terjira is a very interactive and easy to use CLI tool for Jira
description: |
Terjira is an interactive and easy to use command line interface
(or Application) for Jira. You do not need to remember the resource key
or id. Terjira suggests it with an interactive prompt.

grade: stable
confinement: strict

parts:
terjira:
plugin: dump
source: .
override-build: |
gem build terjira.gemspec
gem install *.gem -i $SNAPCRAFT_PART_INSTALL
build-packages:
- gcc
- libc6-dev
- make
- ruby-dev
stage-packages: [ruby]

apps:
terjira:
environment:
RUBYLIB: $SNAP/usr/lib/ruby/2.5.0:$SNAP/usr/lib/x86_64-linux-gnu/ruby/2.5.0
GEM_HOME: $SNAP/gems
GEM_PATH: $SNAP
command: ruby $SNAP/bin/jira