Commit graph

124 commits

Author SHA1 Message Date
Raphael Reitzig
b5bec7bb45 Simplify tests. 2019-11-06 21:43:59 +01:00
Raphael Reitzig
745e8441d2 Test on Ubuntu 18.04; adapt README. 2019-11-06 21:18:41 +01:00
Raphael Reitzig
ac99d1464c Final macOS incompatibility fix.
Closes issue #29.
2019-11-06 20:52:07 +01:00
Raphael Reitzig
7e9d8a7031 issue #29: Fix installation test. 2019-11-05 06:11:48 +01:00
Raphael Reitzig
0d42de6d9c issue #29: Local Homebrew formula for fish 2 2019-11-05 05:52:02 +01:00
Raphael Reitzig
7faecfd154 issue #29: Avoid GNU-specific find. 2019-11-05 05:32:11 +01:00
Raphael Reitzig
060169f5da Merge branch 'dev' into macos-compat 2019-11-05 04:54:15 +01:00
Raphael Reitzig
83711b1c9d Bump tested SDKMAN! version in README. 2019-11-05 04:46:16 +01:00
Raphael Reitzig
813f1a1bd7 Merge branch 'dev' 2019-11-05 04:42:40 +01:00
Raphael Reitzig
e41ccb9ce8 Offer to install SDKMAN! if not already installed.
Fixes issue #26

Also:

 - Change language in README to clarify that
   SDKMAN! is not included.
 - Polishes to `.editorconfig`.
2019-11-05 04:24:36 +01:00
Raphael Reitzig
47ec1e3847 Add test for issue #26
Require to offer installation of SDKMAN!
2019-11-05 04:19:50 +01:00
Raphael Reitzig
e503300b8a Fix PATH zombie test 2019-11-05 04:07:29 +01:00
Raphael Reitzig
415c2a0bb2 Fix reinitialization test. 2019-11-05 03:48:59 +01:00
Raphael R
d811a8ddc2
Update README.md 2019-08-07 10:28:11 +02:00
Raphael Reitzig
5d7e1d43f6 Merge branch 'dev' into macos-compat 2019-07-31 03:16:23 +02:00
Raphael Reitzig
ba1ab563a3 Merge branch 'dev' 2019-07-31 03:09:18 +02:00
Raphael Reitzig
04a8c8574a issue #27 Fish 3 compatibility: make fish 3 tests mandatory. 2019-07-31 03:03:19 +02:00
Raphael Reitzig
735760bb25 issue #27 Fish 2 compatibility: support old PATH handling, as well 2019-07-31 02:47:36 +02:00
Raphael Reitzig
018c9f01a3 issue #27 Fish 3 compatibility: Remove math/test condition completely. 2019-07-31 02:32:07 +02:00
Raphael Reitzig
6934dbfb0f issue #27 Fish 3 compatibility: adapt to new PATH handling
cf. https://github.com/fish-shell/fish-shell/issues/436
2019-07-31 02:23:12 +02:00
Raphael Reitzig
c02c756baf issue #27 Fish 3 compatibility: replace math with test in conditions
cf. https://github.com/fish-shell/fish-shell/issues/4777
2019-07-31 02:20:17 +02:00
Raphael Reitzig
12f7d3de77 issue #29: Replace stat with something more portable.
cf. https://unix.stackexchange.com/a/7732/17409
2019-07-31 02:09:47 +02:00
Raphael Reitzig
b1887e4170 issue #29 - Add macOS alternative for sha256sum. 2019-07-31 01:58:29 +02:00
Raphael Reitzig
da69b50eb5 issue #29 - Make Travis test on macOS.
And mercy be with us all.

 - Use `apt` and `homebrew` addons for simplicity and build speed (?).
 - Make build matrix explicit: can't handle installing different
   versions of fish otherwise.
2019-07-31 01:42:52 +02:00
Raphael Reitzig
3055e88e1f Reformat .travis.yml 2019-07-30 22:33:56 +02:00
Raphael Reitzig
0d080212d2 Verify (re-)initialization of SDKMAN env vars works.
- Add new test that covers the two cases considered so far.

Housekeeping:

 - Add `.gitignore`
 - Add `.editorconfig`
2019-07-30 22:19:32 +02:00
Raphael Reitzig
ff58e3f759 Merge branch 'dev' 2019-07-21 22:33:46 +02:00
Raphael Reitzig
ddb3b3042b Fix Travis build: run all tests for Fish 2 and 3. 2019-07-21 22:28:27 +02:00
Raphael R
593d12b648
Add preliminary tests for fish 3. 2019-07-21 21:22:46 +02:00
Raphael Reitzig
dccaf0056c Re-initialize if current user changed.
Fixes issue #25; assumes that every user has their own SDKMAN installation.
2019-01-06 18:05:44 +01:00
Raphael Reitzig
aa13155167 Merge branch 'dev'
Closes issue #24.
2018-11-09 20:41:16 +01:00
Raphael Reitzig
083d2d3d9b Merge branch 'master' into dev 2018-11-09 20:35:58 +01:00
Raphael Reitzig
050aa57fe4 Merge branch 'master' into dev 2018-11-09 20:31:00 +01:00
Raphael Reitzig
85d10acc47 Preserve all X_HOME environment variables created by SDKMAN!.
Adresses issue #24.
2018-11-09 20:18:01 +01:00
Raphael R
189739ca31
Update README.md
Updates references to fisher(man) v2.
2018-10-08 15:50:36 +02:00
Raphael R
3b5dcfbb8a
Merge pull request #22 from reitzig/reitzig-patch-1
Changes location of hacked sdkman init script
2018-10-08 15:47:21 +02:00
Raphael R
74c0772ac1
Changes location of hacked sdkman init script
Config folder of fisher(man) changed location between v2 and v3.

Pertains to issue #19
2018-10-08 15:34:04 +02:00
Raphael R
85cce73e68
Merge pull request #21 from atallahade/fix-typo
Changes README to reflect the new `fisher` interface.
2018-10-07 22:20:33 +02:00
Adel Atallah
05bbce736a Fix typo in the readme file 2018-10-07 21:03:40 +02:00
Raphael Reitzig
9dd152bced Merge branch 'issue-19' into dev 2018-07-21 20:40:51 +02:00
Raphael Reitzig
9fa1639047 Merge branch 'issue-19' 2018-07-21 16:48:55 +02:00
Raphael Reitzig
541a69e192 Makes hack for issue #19 a litte more robust.
Refresh the export-free sdkman-init whenever the
original has changed.
2018-07-21 16:24:21 +02:00
Raphael Reitzig
3b2eb04305 Updates latest tested version. 2018-07-19 23:32:07 +02:00
Raphael Reitzig
be5efd6aaf Forgot that Travis wouldn't have the hack-assist folder.
Relates to issue #19
2018-07-19 01:31:13 +02:00
Raphael Reitzig
88c81dc479 Implements a nasty hack for issue #19: mangle sdkman-init. 2018-07-19 01:22:19 +02:00
Raphael Reitzig
8a14b1d570 Refactoring: Define sdkman-init variable only once and "hide" it.
Also nicer test output.
2018-07-19 01:19:05 +02:00
Raphael Reitzig
ba46492522 Adds test case for issue #19. 2018-07-19 00:02:31 +02:00
Raphael Reitzig
597945453d Offline mode now works.
- Initialization now delegates do sdkman-init.sh
 - bash-runner now catches all SDKMAN_* environment variables.

Fixes issue #17
Unearthes issue #19
2018-07-18 23:35:32 +02:00
Raphael Reitzig
e01e9a4bea Refactoring: bash calling in its own function.
Also:
 - Fixes Travis build reg. bf13d2f.
 - Wrapper test now cleans up after itself.
2018-07-18 22:05:57 +02:00
Raphael Reitzig
bf13d2fee1 Refactoring: Adhere better to conventions.
Define function sdk in functions/sdk.fish and
perform init in conf.d/sdk.fish.
2018-07-18 21:46:23 +02:00