Skip to content
Snippets Groups Projects
Commit ee39e382 authored by Hans-Peter Deifel's avatar Hans-Peter Deifel
Browse files

Use posix sh function definition syntax in build script

parent e4979401
No related branches found
No related tags found
1 merge request!3Add build script that wraps stack
...@@ -28,7 +28,7 @@ EOF ...@@ -28,7 +28,7 @@ EOF
exit 1 exit 1
fi fi
function doTest { doTest() {
if [[ $# -eq 0 ]]; then if [[ $# -eq 0 ]]; then
exec stack test exec stack test
fi fi
...@@ -48,7 +48,7 @@ function doTest { ...@@ -48,7 +48,7 @@ function doTest {
esac esac
} }
function doBench { doBench() {
exec stack bench :bench --benchmark-arguments "$*" exec stack bench :bench --benchmark-arguments "$*"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment