Convert to mise-en-place
This commit is contained in:
committed by
GitHub
parent
286d9a2fd8
commit
98bc72700b
@@ -93,7 +93,6 @@ enigma_install_init() {
|
|||||||
|
|
||||||
install_mise_en_place() {
|
install_mise_en_place() {
|
||||||
curl https://mise.run | sh
|
curl https://mise.run | sh
|
||||||
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
|
|
||||||
eval ~/.local/bin/mise activate bash
|
eval ~/.local/bin/mise activate bash
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -131,6 +130,14 @@ is_arch_arm() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extra_npm_install_args() {
|
||||||
|
if is_arch_arm ; then
|
||||||
|
echo "--build-from-source"
|
||||||
|
else
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
install_node_packages() {
|
install_node_packages() {
|
||||||
log "Installing required Node packages..."
|
log "Installing required Node packages..."
|
||||||
log "Note that on some systems such as RPi, this can take a VERY long time. Be patient!"
|
log "Note that on some systems such as RPi, this can take a VERY long time. Be patient!"
|
||||||
|
|||||||
Reference in New Issue
Block a user