mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-25 13:27:10 -07:00
parent
6f86eadfdb
commit
debd5e2d66
2 changed files with 7 additions and 4 deletions
|
@ -17,5 +17,8 @@ install:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: Test Wrapper
|
- stage: General Wrapper Tests
|
||||||
script: fish test/wrapper.fish
|
script: fish test/wrapper.fish
|
||||||
|
- stage: Ticket-specific tests
|
||||||
|
script:
|
||||||
|
- sdk install crash 1.3.0; sdk uninstall crash 1.3.0; fish test/10_zombies_new.fish
|
|
@ -17,8 +17,8 @@ if test -f "$sdkman_init"
|
||||||
# This is a subshell, SDKMAN! binaries already in path.
|
# This is a subshell, SDKMAN! binaries already in path.
|
||||||
case '*'
|
case '*'
|
||||||
# No SDKMAN! in PATH yet, so add candidate binaries
|
# No SDKMAN! in PATH yet, so add candidate binaries
|
||||||
for ITEM in $HOME/.sdkman/candidates/* ;
|
for ITEM in $HOME/.sdkman/candidates/*/current ;
|
||||||
set -gx PATH $PATH $ITEM/current/bin
|
set -gx PATH $PATH $ITEM/bin
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue