Commit Graph

703 Commits

Author SHA1 Message Date
Trevor Brown
3ba92d62cb Fix ordering of the plugins in the readme 2017-02-08 09:42:43 -05:00
Trevor Brown
a5ab7fb1f6 Merge pull request #151 from gozer/master
Add my packer plugin.
2017-02-08 07:11:04 -07:00
Philippe M. Chiasson
73074bf5f0
Add my packer plugin 2017-02-07 10:20:02 -05:00
Victor Hugo Borja
30667818d4 Add asdf-link
[asdf-link](https://github.com/vic/asdf-link) is a generic (very dumb) asdf plugin for managing system vendor-installed tools.
2017-01-24 08:30:35 -06:00
Victor Hugo Borja
1b17bfe4e5 Merge pull request #146 from marciogm/crystal
Added Crystal
2017-01-21 09:48:33 -06:00
Marcio Giaxa
31ae5985cd Added Crystal 2017-01-21 11:48:45 -02:00
Victor Hugo Borja
d46bc7a2ed Document ASDF_TOOL_VERSION environment variable.
Add an example of its use.
2017-01-20 15:10:24 -06:00
Victor Hugo Borja
92839af1b9 Add vic to maintainers
Yay !
2017-01-19 12:00:23 -06:00
Victor Hugo Borja
b9340239d4 asdf travis badge 2017-01-19 11:30:45 -06:00
Victor Hugo Borja
873dc5eb3e Merge pull request #110 from vic/get_version_from_env
Get version from env if ASDF_${TOOL}_VERSION is defined.
2017-01-19 11:27:25 -06:00
Victor Hugo Borja
8709d197f1 Merge pull request #137 from vic/set-path-version
Allow `asdf local` and `asdf global` to take path: versions
2017-01-19 11:27:06 -06:00
Victor Hugo Borja
2934cca134 Merge pull request #145 from lerencao/master
add sbt plugin in readme
2017-01-19 11:25:42 -06:00
Cao Jiafeng
7582a7888f update list order 2017-01-19 17:38:30 +08:00
Cao Jiafeng
ef22c36e9f add sbt plugin in readme 2017-01-16 19:50:53 +08:00
Trevor Brown
4b784ce4f7 Merge pull request #116 from smashedtoatoms/patch-1
Added LuaJIT
2017-01-14 18:51:04 -07:00
Victor Hugo Borja
9cdea662d1 Merge pull request #140 from vic/patch-5
Add Haskell plugin
2017-01-10 19:23:08 -06:00
Jason Legler
1e6bca2542 Removed link to luarocks for luaJIT because I added it to luaJIT 2016-12-28 15:47:31 -07:00
Trevor Brown
9ac1df50aa Merge pull request #138 from Stratus3D/check-plugin-permissions
Check permissions on scripts in plugins' bin directories when testing
2016-12-27 08:10:37 -07:00
Trevor Brown
7b17401909 Merge pull request #141 from vic/parse_version_file_tests
Add couple of tests.
2016-12-25 10:22:38 -07:00
Trevor Brown
2e96bc63eb Merge branch 'release-v0.2.1' 2016-12-25 12:14:09 -05:00
Daniel Perez
2fd209aedf Merge pull request #142 from crzrcn/master
Fix fish shell's deprecation warnings when using the `complete` command
2016-12-25 15:35:18 +09:00
crzrcn
8ecfffcf5c Fix fish shell's deprecation warnings when using the complete command
Attempting to tab-complete an asdf command would result in a deprecation warning being printed.

The --authoritative/-A and --unauthoritative/-u flags have been removed from the `complete` command.

Context: https://github.com/fish-shell/fish-shell/pull/3660
2016-12-24 15:42:57 -08:00
Victor Borja
85a37ca9a5 Add couple of tests 2016-12-23 11:11:47 -06:00
Victor Hugo Borja
13d54be5a4 Add Haskell plugin
[asdf-haskell](http://github.com/vic/asdf-haskell) is a plugin for installing Haskell (via stack)
2016-12-23 01:37:29 -06:00
Trevor Brown
dff1149fb5 Check permissions on scripts in plugins' bin directories when testing them. 2016-12-21 20:58:11 -05:00
Trevor Brown
5f3ff8ec26 Update the version in the README and utils.sh. 2016-12-21 18:45:57 -05:00
Trevor Brown
855dd3bcf1 Merge pull request #135 from asdf-vm/install-command-error-msg
Add a helpful error message to the install command.
2016-12-19 06:39:28 -07:00
Victor Borja
716d8a93cd Allow asdf local and asdf global to take path: versions
When given a path: version, just check that the directory
actually exists.
2016-12-19 00:25:29 -06:00
Stratus3D
4ba424276d Prepare for 0.2.1 release. 2016-12-18 13:25:11 -05:00
Stratus3D
7c28074423 Add a helpful error message to the install command to warn users when they don't specify a version to install. 2016-12-18 12:52:23 -05:00
Trevor Brown
127f926391 Merge pull request #123 from vic/shims-remove
Shims remove on latest version uninstall (depends on #122).
2016-12-16 15:47:24 -07:00
Victor Borja
f4bc8b58ff Merge remote-tracking branch 'origin/master' into get_version_from_env 2016-12-15 06:28:01 -06:00
Daniel Perez
0545c613d1 Merge pull request #112 from vic/version_ref
Bugfix: `ref:` and `path:` versions are not read correctly.
2016-12-15 21:25:28 +09:00
Victor Borja
a1bc06fb82 Bugfix: ref: and path: versions are not read correctly.
Before this patch, with a `.tool-versions` file like:

```
lfe ref:master
```

`get_preset_version_for` would return `ref` instead of `ref:master`.

Same was happening for `path:` versions. Actually there was PR #95
on which I based my changes but instead of using space as delimiter
I went for using `|` which would be a lot more weird if present as
part of a file path, this also allows to specify paths which have
spaces which are much more frequent.

Closes #94 #95
2016-12-15 06:12:09 -06:00
Victor Borja
a98185b16a Get version from env if ASDF_${TOOL}_VERSION is defined.
For example if asdf finds that the `ASDF_FOO_VERSION` is
defined in the current environment it will override the
version of `foo` from the `.tool-version` file.

Closes #49
2016-12-15 06:10:25 -06:00
Victor Borja
d1f0b64c2f Remove shims on uninstall or plugin-remove
- Remove plugin shims when last version is uninstalled.
- Remove shims on plugin-remove

When the latest version of a tool is uninstalled,
Remove the plugin shims (marked with metadata at #122)

Also found lots of missing tests and added them.

Closes #67
2016-12-15 06:05:23 -06:00
Daniel Perez
786d8f3204 Merge pull request #131 from vic/fix-shim-args
Fix shim args again.
2016-12-15 20:48:45 +09:00
Victor Borja
6ddf1e5e49 Fix shim args again.
Broken here:

00bf082b31 (diff-774f80a035a812fafdd48ebc7c8b6af4R54)

but this time we have tests to notice:

https://travis-ci.org/asdf-vm/asdf/builds/184202823
2016-12-15 05:34:35 -06:00
Daniel Perez
00bf082b31 Merge pull request #126 from mtatheonly/pr-125
Add Scala Plugin
2016-12-15 19:52:32 +09:00
Daniel Perez
f0a56f0b85 Merge pull request #130 from sylph01/master
Add D(DMD) plugin
2016-12-15 19:51:07 +09:00
Ryo Kajiwara
4ea89a8ee2 Add D(DMD) plugin 2016-12-15 17:04:27 +09:00
Stratus3D
3a21a8cf09 Merge branch 'Stratus3D-plugin-list-all-order-doc' 2016-12-14 11:05:44 -05:00
Stratus3D
4a4d9022f0 Add note on the recommended way to manually sort versions. 2016-12-14 11:04:31 -05:00
Trevor Brown
4f15d2cbe6 Merge pull request #128 from vic/test-shim-params
Test produced shims by actually running them.
2016-12-14 11:01:18 -05:00
Trevor Brown
218a46d6f0 Merge pull request #125 from mtatheonly/master
Update reshim.sh so shims don't crash.
2016-12-14 11:01:18 -05:00
Victor Borja
10004e869c Test produced shims by actually running them.
Test using a dummy executable.

Closes #127
2016-12-14 11:01:18 -05:00
mtatheonly
095d6ced81 Update reshim.sh
Removing unneeded slash from shim writing.
2016-12-14 11:01:18 -05:00
Trevor Brown
e538ac05e2 Merge pull request #122 from vic/shims-meta
Add metadata to shims.
2016-12-14 11:01:17 -05:00
Trevor Brown
e4501c7d6a Merge pull request #121 from vic/patch-4
Add asdf-clojure plugin.
2016-12-14 11:01:17 -05:00
Victor Borja
da6b907b1d Add documentation on metadata for shim authors 2016-12-14 11:01:17 -05:00