Commit Graph

415 Commits

Author SHA1 Message Date
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
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
Stratus3D
a3349dfc2c Merge branch 'vic-global_version_outside_home' 2016-12-14 11:01:14 -05:00
Akash Manohar
f88ed7c380 Merge pull request #102 from Stratus3D/prepare-for-0.2.0
Prepare for 0.2.0 release
2016-12-14 11:01:14 -05:00
Victor Borja
0d4d65ed56 Determine version from global setting when project is outside home.
Without this patch, asft was not able to determine the tool version
for a project located outside the user's HOME directory.

```
/work/project/
/home/me/.tool-versions
```

This changeset lets asdf find the global version stored at
$HOME/.tool-versions when the directory traversal from
the project dir was not able to find a suitable version.
2016-12-14 11:01:14 -05:00
Akash Manohar
0a3495e1c2 Merge pull request #104 from Stratus3D/more-whitespace-fixes
More whitespace fixes
2016-12-14 11:01:14 -05:00
Stratus3D
d72020316b Add line to changelog listing recently merged PR. 2016-12-14 11:01:13 -05:00
Trevor Brown
911561295b Prepare for 0.2.0 release
* Add everything that was merged for 0.2.0 to the changelog.
* Update install command in the readme with 0.2.0 tag.
2016-12-14 11:01:13 -05:00
Brian van Burken
f10f67b669 Add MongoDB plugin to README Usage list 2016-12-14 11:01:13 -05:00
Stratus3D
1360010723 Update the install_command function so it works when invoked in directory whose name contains whitespace. 2016-12-14 11:01:13 -05:00
Stratus3D
2c9f340c11 Merge branch 'vic-global_version_outside_home' 2016-12-14 11:01:13 -05:00
Stratus3D
60a62321d8 Add test for the install command in a directory name containing whitespace. 2016-12-14 11:01:13 -05:00
Akash Manohar
fc9769b786 Merge pull request #102 from Stratus3D/prepare-for-0.2.0
Prepare for 0.2.0 release
2016-12-14 11:01:13 -05:00