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
Trevor Brown
1eea33b4f8
Merge pull request #119 from asdf-vm/better-install-commands
...
Use -e flag when calling echo so newlines are used.
2016-12-14 11:01:17 -05:00
Victor Hugo Borja
6bf5963cc6
Add asdf-clojure
...
[asdf-clojure](http://github.com/vic/asdf-clojure ) is a plugin for installing [Clojure](http://clojure.org )
Closes #101
2016-12-14 11:01:17 -05:00
Victor Borja
92ad386f78
Test shims executable
2016-12-14 11:01:17 -05:00
Stratus3D
b6bd835871
Use -e flag when calling echo so newlines are used.
2016-12-14 11:01:17 -05:00
Victor Borja
2826f66849
Add metadata to shims
...
When a shim is created, add plugin metadata so we can later know which shims belong to which plugins, this will help aid with removing unused shims on uninstall. See #67
```
# asdf-plugin: ${plugin_name}”
```
Thanks to @duijf for the metadata proposal.
2016-12-14 11:01:17 -05:00
Akash Manohar
aa0e8985d9
Merge pull request #117 from asdf-vm/better-install-commands
...
Ensure install commands always add asdf loading code on a new line in bashrc.
2016-12-14 11:01:16 -05:00
Stratus3D
67d959a96d
Ensure install commands always add asdf loading code on a new line in bashrc.
2016-12-14 11:01:16 -05:00
Trevor Brown
ead01d31c4
Merge pull request #115 from vic/patch-3
...
Add Idris plugin
2016-12-14 11:01:16 -05:00
Trevor Brown
f8bbbeb5cb
Merge pull request #114 from virtuslabs/master
...
Add Julia lang plugin
2016-12-14 11:01:16 -05:00
Victor Hugo Borja
a83e5d3291
Add Idris plugin
...
[plugin](http://github.com/vic/asdf-idris ) for installing [Idris](http://idris-lang.org )
2016-12-14 11:01:16 -05:00
Trevor Brown
d808ba0287
Merge pull request #113 from vic/patch-2
...
Add asdf-elm plugin.
2016-12-14 11:01:16 -05:00
Kyle Gay
cb5be3059c
add julia lang plugin
2016-12-14 11:01:16 -05:00
Neer Friedman
18b9e2a907
add link to asdf-terraform
in README
2016-12-14 11:01:15 -05:00
Victor Hugo Borja
1b96c47fa5
Add asdf-elm plugin.
...
Plugin for [Elm](http://elm-lang.org )
2016-12-14 11:01:15 -05:00
Akash Manohar
4d2e0c019d
Merge pull request #105 from namjae/master
...
file_path may have some spaces.
2016-12-14 11:01:15 -05:00
Akash Manohar
3f1eb04de4
Merge pull request #111 from nickveys/patch-1
...
Added Rust plugin to README
2016-12-14 11:01:15 -05:00
DalHo Park
7fb6fe9dcd
Merge branch 'master' of https://github.com/asdf-vm/asdf
2016-12-14 11:01:15 -05:00
Daniel Perez
9d4d32e93d
Merge pull request #109 from vic/patch-1
...
Add asdf-lfe
2016-12-14 11:01:15 -05:00
Nick Veys
9d17b9cd71
Added Rust plugin to README
2016-12-14 11:01:15 -05:00
DalHo Park
baa8272bf0
file_path may have some spaces.
2016-12-14 11:01:15 -05:00
Stratus3D
226b7d2fb0
Merge branch 'brianvanburken-master'
2016-12-14 11:01:14 -05:00
Victor Hugo Borja
1a55ee141c
Add asdf-lfe
...
Plugin for installing [LFE](https://github.com/rvirding/lfe )
2016-12-14 11:01:14 -05:00
Stratus3D
e239a043a2
Add MongoDB build link to readme.
2016-12-14 11:01:14 -05:00
Stratus3D
5e89c8dab7
Add line to changelog listing recently merged PR.
2016-12-14 11:01:14 -05:00