-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
134 additions
and
33 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
...features_in_features__sdkman_for_fish.xml → ...gurations/All_features__real_install_.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
$run_with_real_install = (ENV['RUN_WITH_REAL_INSTALL'] || 'true') == 'true' | ||
$shared_setup = (ENV['SHARED_TEST_SETUP'] || 'false') == 'true' | ||
$test_env = {} | ||
|
||
if $run_with_real_install | ||
# nothing to do except set the flag | ||
puts "Running with real packages installs through SDKMAN! -- beware!" | ||
$test_env = { | ||
'SDKMAN_DIR' => "#{ENV['HOME']}/.sdkman", | ||
'SDKMAN_CANDIDATES_DIR' => "#{ENV['HOME']}/.sdkman/candidates", | ||
} | ||
else | ||
puts "Running with mocked package installs" | ||
# TODO: Put SDKMAN! in a temp dir -- but how to change $SDKMAN_(CANDIDATES_)DIR? | ||
# For now, set the env vars to the defaults so our setup methods work | ||
$test_env = { | ||
'SDKMAN_DIR' => "#{ENV['HOME']}/.sdkman", | ||
'SDKMAN_CANDIDATES_DIR' => "#{ENV['HOME']}/.sdkman/candidates", | ||
} | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters