mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
16 lines
225 B
Bash
Executable File
16 lines
225 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
supports_check_target() {
|
|
[ -f "$1" ] && grep -q '^check$' "$1"
|
|
}
|
|
|
|
if supports_check_target 'DoBuildFiles/targets.txt'; then
|
|
set -- check "$@"
|
|
else
|
|
assemble
|
|
set -- test "$@"
|
|
fi
|
|
|
|
exec cmake_adapter "$@"
|
|
|