Skip to content

Commit

Permalink
Add snapcraft.yaml
Browse files Browse the repository at this point in the history
Add snapcraft.yaml file to enable build snaps.

Signed-off-by: Ivan Hrasko <[email protected]>
  • Loading branch information
ihrasko committed Jul 25, 2024
1 parent 5223f3f commit 6a35662
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: lighty-yang-validator
version: '21.0'
summary: lighty YANG Validator 21
description: This tool validates YANG modules using the YANG-Tools parser. If there are any problems parsing the module, it will show the stacktrace with the problem, linking to the corresponding module.
confinement: classic
grade: stable
base: core24

apps:
lighty-yang-validator:
command: java -jar $SNAP/jar/my-app.jar
plugs: [network, development]

// FIXME https://forum.snapcraft.io/t/migrate-to-core24/39393
parts:
lighty-yang-validator:
plugin: maven
source: .
java-packages:
- openjdk-21-jre-headless
build-packages:
- maven

0 comments on commit 6a35662

Please sign in to comment.