-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,9 @@ ui/ | |
node_modules/ | ||
npm-debug.log | ||
|
||
# snapcraft | ||
parts/ | ||
|
||
# UNKNWON | ||
jabref.xml | ||
*.sonargraph | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#/bin/bash | ||
VERSION=`grep "^version =" build.gradle | sed "s/^version = \"\(.*\)\".*/\1/"` | ||
sed -i "s/4.0-dev/$VERSION/" snapcraft.yaml | ||
docker run -v $(pwd):$(pwd) -t koppor/docker-snapcraft-java-de:v1.2.0 sh -c "cd $(pwd) && LANG=C.UTF-8 LC_ALL=C.UTF-8 snapcraft && LANG=C.UTF-8 LC_ALL=C.UTF-8 snapcraft push *.snap --release edge" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# based on https://github.com/snapcore/snapcraft/blob/master/demos/gradle/snap/snapcraft.yaml | ||
|
||
name: jabref | ||
version: '4.0-dev' | ||
summary: Bibliography manager | ||
icon: src/main/resources/images/external/JabRef-icon-128.png | ||
description: JabRef is an open source bibliography reference manager. The native file format used by JabRef is BibTeX, the standard LaTeX bibliography format. | ||
|
||
grade: devel # must be 'stable' to release into candidate/stable channels | ||
confinement: devmode # use 'strict' once you have the right plugs and slots | ||
|
||
apps: | ||
jabref: | ||
command: java -jar $SNAP/jar/JabRef-4.0-dev.jar | ||
|
||
parts: | ||
jabref: | ||
plugin: gradle | ||
source: . | ||
stage-packages: [default-jre, openjfx] | ||
gradle-options: [snapJar] | ||
gradle-output-dir: 'build/releases' |