mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-03 15:40:27 +00:00
19 lines
369 B
Fish
19 lines
369 B
Fish
function -S setup
|
|
function git
|
|
printf "%s\n" $argv
|
|
end
|
|
end
|
|
|
|
function -S teardown
|
|
functions -e git
|
|
end
|
|
|
|
for plugin in foo bar
|
|
set -l url https://github.com/$plugin/$plugin
|
|
set -l path config/cache/$plugin
|
|
|
|
test "$TESTNAME - Use Git to clone repo <$url> into <$path>"
|
|
clone $url $path = (__fisher_url_clone $url $path)
|
|
end
|
|
end
|