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
exit 1
fi
function doTest {
doTest() {
if [[ $# -eq 0 ]]; then
exec stack test
fi
......@@ -48,7 +48,7 @@ function doTest {
esac
}
function doBench {
doBench() {
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