mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-07 09:20:24 +00:00
21 lines
310 B
Fish
21 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
|