File tree Expand file tree Collapse file tree 5 files changed +17
-4
lines changed Expand file tree Collapse file tree 5 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ packages: .
2
2
tests : True
3
3
4
4
package jbeam-edit
5
- flags : +dump-ast +transformation
5
+ flags : +dump-ast +transformation -windows-example-paths
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ package *
8
8
-with-rtsopts=-N
9
9
10
10
package jbeam-edit
11
- flags: -dump-ast -transformation
11
+ flags: -dump-ast -transformation +windows-example-paths
Original file line number Diff line number Diff line change @@ -40,6 +40,13 @@ flag transformation
40
40
default : False
41
41
manual : True
42
42
43
+ flag windows-example-paths
44
+ description :
45
+ Use executable-relative example paths (for Windows release builds)
46
+
47
+ default : False
48
+ manual : True
49
+
43
50
library
44
51
exposed-modules :
45
52
CommandLineOptions
@@ -82,7 +89,7 @@ library
82
89
exposed-modules : Transformation
83
90
hs-source-dirs : src-extra/transformation
84
91
85
- if os(windows)
92
+ if ( os(windows) && flag(windows-example-paths) )
86
93
cpp-options : -DWINDOWS_EXAMPLE_PATHS
87
94
88
95
executable jbeam-edit
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ library:
42
42
- condition : flag(transformation)
43
43
source-dirs : [src-extra/transformation]
44
44
exposed-modules : [Transformation]
45
- - condition : os(mingw32 )
45
+ - condition : os(windows) && flag(windows-example-paths )
46
46
cpp-options : -DWINDOWS_EXAMPLE_PATHS
47
47
48
48
flags :
@@ -54,6 +54,11 @@ flags:
54
54
description : Enable transformation (experimental)
55
55
manual : true
56
56
default : false
57
+ windows-example-paths :
58
+ description : Use executable-relative example paths (for Windows release builds)
59
+ default : false
60
+ manual : true
61
+
57
62
58
63
executables :
59
64
jbeam-edit :
Original file line number Diff line number Diff line change 5
5
jbeam-edit :
6
6
transformation : false
7
7
dump-ast : false
8
+ windows-example-paths : false
You can’t perform that action at this time.
0 commit comments