mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
20 lines
310 B
Fish
20 lines
310 B
Fish
function __fisher_path_make -a path
|
|
if test ! -s $path/Makefile -a ! -s $path/makefile
|
|
return
|
|
end
|
|
|
|
debug "Makefile '%s'" "$path/Makefile"
|
|
|
|
pushd $path
|
|
|
|
set -e argv[1]
|
|
|
|
if not make $argv
|
|
debug "Make fail '%s'" "$argv"
|
|
|
|
popd
|
|
return 1
|
|
end
|
|
|
|
popd
|
|
end
|