on master help sign in
Merge pull request #2761 from melted/fix_pkg_opts
f0f1d72Niklas Larsson
test/pkg001/expected−1
@@ -1 +0,0 @@
1−Type checking ./Main.idr
test/pkg001/test.ipkg+1−1
@@ -2,6 +2,6 @@ package test
2
2
3pkgs = effects
3pkgs = effects
4
4
5−opts = "--warnpartial --warnreach"
5+opts = "--warnpartial --warnreach --nocolour --quiet --consolewidth 80"
6
6
7modules = Main
7modules = Main
test/pkg002/expected−1
@@ -1 +0,0 @@
1−Type checking ./Main.idr
test/pkg002/test.ipkg+2
@@ -2,5 +2,7 @@ package test
2
2
3modules = Main
3modules = Main
4
4
5+
6+opts = "--warnpartial --warnreach --nocolour --quiet --consolewidth 80"
5main = Main
7main = Main
6executable = some.namespaced.identifier
8executable = some.namespaced.identifier
test/pkg003/expected−1
@@ -1 +0,0 @@
1−Type checking ./Main.idr
test/pkg003/test.ipkg+2−1
@@ -2,5 +2,6 @@ package test
2
2
3modules = Main
3modules = Main
4
4
5+opts = "--warnpartial --warnreach --nocolour --quiet --consolewidth 80"
5main = Main
6main = Main
6−executable = "quoting-allows-hyphens and spaces? and fun stuff!"
7+executable = "quoting-allows-hyphens and spaces and fun stuff!"
test/pkg004/expected+5−5
@@ -1,6 +1,6 @@
1−Uncaught error: user error (test.ipkg:7:1: error: a filename
1+Uncaught error: user error (test.ipkg:10:1: error: a
2− must be non-empty and have no
2+ filename must be non-empty and
3− directory
3+ have no directory
4 component, expected: space
4 component, expected: space
5−<EOF>
5+<EOF>
6−^ )
6+^ )
test/pkg004/test.ipkg+3
@@ -2,5 +2,8 @@ package test
2
2
3modules = Main
3modules = Main
4
4
5+
6+opts = "--warnpartial --warnreach --nocolour --quiet --consolewidth 80"
7+
5main = Main
8main = Main
6executable = "filenames/cannot include\a directory separator"
9executable = "filenames/cannot include\a directory separator"