aboutsummaryrefslogtreecommitdiff
path: root/compiler/package.yaml
diff options
context:
space:
mode:
authorpacien2022-09-04 18:18:27 +0200
committerpacien2022-09-04 18:18:27 +0200
commit11bbbae2850b9c45da697a8ed9626495a50a38c0 (patch)
treeff2713118f8b45d36905bfea2933f08d8e70066d /compiler/package.yaml
parente93f7b1eb84c083d67567115284c0002a3a7d5fc (diff)
parent8349be992b46b77dee921f484cfbff8b758ff756 (diff)
downloadldgallery-11bbbae2850b9c45da697a8ed9626495a50a38c0.tar.gz
Merge branch 'develop': release v2.1v2.1
GitHub: related to #315
Diffstat (limited to 'compiler/package.yaml')
-rw-r--r--compiler/package.yaml17
1 files changed, 14 insertions, 3 deletions
diff --git a/compiler/package.yaml b/compiler/package.yaml
index faa2174..7bd86e9 100644
--- a/compiler/package.yaml
+++ b/compiler/package.yaml
@@ -1,11 +1,10 @@
1name: ldgallery-compiler 1name: ldgallery-compiler
2version: 2.0 2version: 2.1
3homepage: https://ldgallery.pacien.org 3homepage: https://ldgallery.pacien.org
4github: "pacien/ldgallery" 4github: "pacien/ldgallery"
5license: AGPL-3 5license: AGPL-3
6author: "Pacien TRAN-GIRARD, Guillaume FOUET" 6author: "Pacien TRAN-GIRARD, Guillaume FOUET"
7maintainer: "" 7copyright: "2019-2021 Pacien TRAN-GIRARD, Guillaume FOUET"
8copyright: "2019-2020 Pacien TRAN-GIRARD, Guillaume FOUET"
9 8
10extra-source-files: 9extra-source-files:
11- readme.md 10- readme.md
@@ -54,6 +53,15 @@ data-files: ["**/*"]
54library: 53library:
55 source-dirs: src 54 source-dirs: src
56 55
56flags:
57 portable:
58 description: >
59 Make the output binary portable.
60 It will look in its own runtime location for its assets instead of
61 absolute installation paths.
62 manual: true
63 default: false
64
57executables: 65executables:
58 ldgallery: 66 ldgallery:
59 main: Main.hs 67 main: Main.hs
@@ -64,6 +72,9 @@ executables:
64 - -with-rtsopts=-N 72 - -with-rtsopts=-N
65 dependencies: 73 dependencies:
66 - ldgallery-compiler 74 - ldgallery-compiler
75 when:
76 - condition: flag(portable)
77 cpp-options: -DFLAG_PORTABLE
67 78
68tests: 79tests:
69 ldgallery-compiler-test: 80 ldgallery-compiler-test: