Skip to content

Commit

Permalink
0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ekalinin committed Apr 21, 2014
1 parent 0a0d598 commit 37203a6
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 16 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

0.7.1 (22-04-2014)
------------------
* improved ``ls-cache``/``rm-cache`` commands (added options for each section of
the cache)
* ``julia`` plugin: fixed building
* added plugin for [scala](http://scala-lang.org/)

0.7.0 (21-04-2014)
------------------
* ``on``/``activate``/``use`` now works in a new shell by default
Expand Down
36 changes: 23 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ You can create environments for the following programming languages:
* [python](https://www.python.org/)
* [go](http://golang.org/)
* [haskell](http://haskell.org/)
* [scala](http://scala-lang.org/)

New languages can be added as plugins (see below).

Expand All @@ -92,6 +93,7 @@ node-prebuilt
python
rust
rust-prebuilt
scala
```

Check available versions for each plugin
Expand Down Expand Up @@ -283,26 +285,34 @@ function with yourself. For example:
Optional elements
-----------------

* ``plug_list_versions_columns_count`` — variable — number of the columns in the
### Variables

* ``plug_list_versions_columns_count`` — number of the columns in the
output of the ``nv ls-version`` for each plugin
* ``plug_list_versions_columns_size``variable — each column width in chars in
* ``plug_list_versions_columns_size`` — each column width in chars in
the output of the ``nv ls-version`` for each plugin
* ``plug_post_install_actions`` — optional function executes after
installation. For example ``pip`` installation in the
[python](https://github.com/ekalinin/envirius/blob/master/src/nv-plugins/python)
plugin
* ``plug_unpack`` — optional function overrides default ``tar xzf <source>``
* ``plug_configure`` — optional function overrides default ``configure
--prefix=<path-to-env>``
* ``plug_download`` — optional function overrides default downloading sources
* ``plug_check_deps`` — optional function check dependencies before plugin
building
* ``plug_state`` — variable — if == ``disabled`` then plugin is not active and will not
* ``plug_state``if == ``disabled`` then plugin is not active and will not
be account in the commands:
* mk
* ls-versions
* ls-plugins

### Functions

In execute order:

* ``plug_check_deps`` — check dependencies before plugin building
* ``plug_install`` — overrides the whole installation process
* ``plug_download`` — overrides default downloading sources (archive)
* ``plug_unpack`` — overrides default ``tar xzf <archive-with-source>``
* ``plug_configure`` — overrides default ``configure --prefix=<path-to-env>``
* ``plug_build`` — overrides default ``make && make install
* ``plug_build_env`` — overrides copying binaries into new environment
* ``plug_post_install_actions`` — executes after installation. For example
``pip`` installation in the
[python](https://github.com/ekalinin/envirius/blob/master/src/nv-plugins/python)
plugin

Examples
--------

Expand Down
2 changes: 1 addition & 1 deletion src/nv-commands/version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
NV_VERSION=0.7.0
NV_VERSION=0.7.1

nv_cmd_default() {
echo "$(nv_cmd_name) $NV_VERSION"
Expand Down
2 changes: 1 addition & 1 deletion tests/help.bats
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ load test_helper
local usage_b=$(nv_bold "Usage")
run nv
assert_success
assert_equal "${lines[0]}" "nv 0.7.0"
assert_equal "${lines[0]}" "nv 0.7.1"
assert_equal "${lines[1]}" "${usage_b}: nv <subcommand>"
assert_equal "${lines[2]}" "Subcommands:"
}
2 changes: 1 addition & 1 deletion tests/version.bats
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ load test_helper
@test "version: output version" {
run nv version
assert_success
assert_output "nv 0.7.0"
assert_output "nv 0.7.1"
}

0 comments on commit 37203a6

Please sign in to comment.