From 37203a6eb408a6c098c1bf12b0a477d75f6431b4 Mon Sep 17 00:00:00 2001 From: Eugene Kalinin Date: Mon, 21 Apr 2014 20:17:52 +0400 Subject: [PATCH] 0.7.1 --- CHANGELOG.md | 7 +++++++ README.md | 36 +++++++++++++++++++++++------------- src/nv-commands/version | 2 +- tests/help.bats | 2 +- tests/version.bats | 2 +- 5 files changed, 33 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d5b424..8d0f6d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 22022a5..3b7694d 100644 --- a/README.md +++ b/README.md @@ -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). @@ -92,6 +93,7 @@ node-prebuilt python rust rust-prebuilt +scala ``` Check available versions for each plugin @@ -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 `` -* ``plug_configure`` — optional function — overrides default ``configure - --prefix=`` -* ``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 `` +* ``plug_configure`` — overrides default ``configure --prefix=`` +* ``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 -------- diff --git a/src/nv-commands/version b/src/nv-commands/version index 8609160..4d59c5c 100644 --- a/src/nv-commands/version +++ b/src/nv-commands/version @@ -1,4 +1,4 @@ -NV_VERSION=0.7.0 +NV_VERSION=0.7.1 nv_cmd_default() { echo "$(nv_cmd_name) $NV_VERSION" diff --git a/tests/help.bats b/tests/help.bats index 249f989..28c5f11 100644 --- a/tests/help.bats +++ b/tests/help.bats @@ -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 " assert_equal "${lines[2]}" "Subcommands:" } diff --git a/tests/version.bats b/tests/version.bats index ed7d155..e124420 100644 --- a/tests/version.bats +++ b/tests/version.bats @@ -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" }