Skip to content

Commit

Permalink
adding snapcraft support
Browse files Browse the repository at this point in the history
  • Loading branch information
ram-pi committed Dec 19, 2023
1 parent a85882b commit 7bfceea
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: jrnd
base: core22
version: 0.3.4
summary: Random data generator
description: |
Command line generator of random data.
grade: stable
confinement: strict

apps:
jr:
command: bin/jr
environment:
JR_HOME: $SNAP
plugs:
- home

parts:
jr:
plugin: go
source-type: git
source-branch: main
source: https://github.com/ugol/jr
build-snaps: [go/1.21/stable]

jr-copy-files-templates:
plugin: dump
source-type: git
source: https://github.com/ugol/jr
source-subdir: "templates"
organize:
"*": templates/

jr-copy-files-config:
plugin: dump
source-type: git
source: https://github.com/ugol/jr
source-subdir: "config"

0 comments on commit 7bfceea

Please sign in to comment.