Skip to content

Commit

Permalink
fix fnm install (#15)
Browse files Browse the repository at this point in the history
* DCA11Y-1145: fix: call fnm directly

* DCA11Y-1145: fix: get absolute path of execs

* DCA11Y-1145: chore: try with bashrc

* DCA11Y-1145: chore: try with env var for multishells

* DCA11Y-1145: chore: fnm dir needs to be basedir

* DCA11Y-1145: chore: fnm dir needs to be non existing dir

* DCA11Y-1145: clean up

* DCA11Y-1145: remove test that can't be set
  • Loading branch information
flipatlas authored Oct 29, 2024
1 parent d8b40b6 commit 6ddef59
Show file tree
Hide file tree
Showing 34 changed files with 9 additions and 208 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// TODO share installation as test utils https://maven.apache.org/plugins/maven-invoker-plugin/integration-test-mojo.html#addTestClassPath
def p = "bash $basedir/install-fnm.sh".execute()
p.waitFor()
println p.text
println p.text

def p2 = "bash -c export XTESTX=test".execute()
p2.waitFor()
println p2.text

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# ignoring windows for now
invoker.os.family=!windows,unix,mac
invoker.environmentVariables.SHELL=bash
invoker.environmentVariables.FNM_DIR=$HOME
invoker.environmentVariables.NVM_DIR=non-existing-dir
invoker.environmentVariables.FNM_DIR=non-existing-dir
invoker.environmentVariables.FNM_MULTISHELL_PATH=${basedir}/target/it/node-version-manager/fnm/with-npm/.fnm/.multishells

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export MISE_INSTALL_PATH="$HOME/.mise/bin/mise"
mkdir "$MISE_INSTALL_PATH"
echo "MISE_INSTALL_PATH set: $MISE_INSTALL_PATH"


export MISE_DEBUG=true
curl https://mise.run | sh
echo "MISE has been installed"
echo "MISE has been installed"

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions frontend-maven-plugin/src/it/node-version-manager/nvm/.bashrc

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions frontend-maven-plugin/src/it/node-version-manager/nvs/.bashrc

This file was deleted.

This file was deleted.

0 comments on commit 6ddef59

Please sign in to comment.