diff options
author | Roger Gonzalez <roger@rogs.me> | 2020-07-17 09:19:06 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2020-07-17 09:19:06 -0300 |
commit | 9fe9310ccf4971f0d1976f9bdaafd04a68ea314b (patch) | |
tree | ff1d5d677d5b3c33ac7eb6252029f2a9d165d9b3 /.config/fisher/github.com/matchai/spacefish/tests/run.fish | |
parent | 743caecfc68bb6d28f8de2e80bce671e42601c6a (diff) |
Deleted fisher stuff
Diffstat (limited to '.config/fisher/github.com/matchai/spacefish/tests/run.fish')
-rwxr-xr-x | .config/fisher/github.com/matchai/spacefish/tests/run.fish | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/.config/fisher/github.com/matchai/spacefish/tests/run.fish b/.config/fisher/github.com/matchai/spacefish/tests/run.fish deleted file mode 100755 index 132bf15d..00000000 --- a/.config/fisher/github.com/matchai/spacefish/tests/run.fish +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env fish - -set -l gitRoot (git rev-parse --show-toplevel) -set -l testDir (dirname (status --current-filename)) -set -l tmpDir /tmp/spacefish - -# Install fisher if not installed in temporary fish env -if test ! -f $tmpDir/.config/fish/functions/fisher.fish - curl https://git.io/fisher --create-dirs -sLo $tmpDir/.config/fish/functions/fisher.fish -end - -# Install fishtape and local spacefish into temp env -env HOME=$tmpDir fish -c "fisher add jorgebucaran/fishtape@7426171 matchai/fish-mock $gitRoot" -env HOME=$tmpDir fish -c "fish_prompt" - -if test (count $argv) -gt 0 - # Run an individual test file if it is provided as an argument - env HOME=$tmpDir fish -c "fishtape $argv[1]" -else - # Otherwise run all test files - env HOME=$tmpDir fish -c "fishtape $testDir/*.test.fish" -end |