generated from Templates/Baseline
This commit is contained in:
parent
02ee121148
commit
f91223ac3e
|
@ -199,6 +199,7 @@ This helps reducing the image size.
|
||||||
dotnet Installs latest LTS dotnet core sdk + runtime.
|
dotnet Installs latest LTS dotnet core sdk + runtime.
|
||||||
gitea Installs gitea tools like the changelog generator.
|
gitea Installs gitea tools like the changelog generator.
|
||||||
golang Installs golang 1.19.3.
|
golang Installs golang 1.19.3.
|
||||||
|
bun Installs latest bun version.
|
||||||
nodejs Installs latest NodeJs LTS version using Volta.
|
nodejs Installs latest NodeJs LTS version using Volta.
|
||||||
volta Installs Volta as NodeJS version manager.
|
volta Installs Volta as NodeJS version manager.
|
||||||
powershell Installs latest PowerShell LTS version.
|
powershell Installs latest PowerShell LTS version.
|
||||||
|
|
14
arkanum
14
arkanum
|
@ -29,7 +29,8 @@ function showHelp() {
|
||||||
docker-cli Installs the latest docker-cli.
|
docker-cli Installs the latest docker-cli.
|
||||||
dotnet Installs latest LTS dotnet core sdk + runtime.
|
dotnet Installs latest LTS dotnet core sdk + runtime.
|
||||||
gitea Installs gitea tools like changelog and tea.
|
gitea Installs gitea tools like changelog and tea.
|
||||||
golang Installs golang 1.19.3.
|
golang Installs golang 1.21.5.
|
||||||
|
bun Installs latest bun version.
|
||||||
nodejs Installs latest NodeJs LTS version using Volta.
|
nodejs Installs latest NodeJs LTS version using Volta.
|
||||||
volta Installs Volta as NodeJS version manager.
|
volta Installs Volta as NodeJS version manager.
|
||||||
powershell Installs latest PowerShell LTS version.
|
powershell Installs latest PowerShell LTS version.
|
||||||
|
@ -138,6 +139,15 @@ function instGoLang() {
|
||||||
say "Please reload bash profile to finalize." "GoLang"
|
say "Please reload bash profile to finalize." "GoLang"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function instBun() {
|
||||||
|
say "Installing Bun binaries..." "Bun"
|
||||||
|
curl -#fSL https://bun.sh/install | bash
|
||||||
|
say "Adding bun binary to profile..." "Bun"
|
||||||
|
echo 'export BUN_INSTALL=$HOME/.bun' | sudo tee -a /etc/bash.bashrc > /dev/null
|
||||||
|
echo 'export PATH=$BUN_INSTALL/bin:$PATH' | sudo tee -a /etc/bash.bashrc > /dev/null
|
||||||
|
say "done." "bun"
|
||||||
|
}
|
||||||
|
|
||||||
function instNodeJs() {
|
function instNodeJs() {
|
||||||
say "Installing NodeJS LTS via Volta..." "NodeJS"
|
say "Installing NodeJS LTS via Volta..." "NodeJS"
|
||||||
volta install node@lts
|
volta install node@lts
|
||||||
|
@ -311,6 +321,8 @@ function main() {
|
||||||
instDotNet
|
instDotNet
|
||||||
elif [[ "$2" == "golang" ]]; then
|
elif [[ "$2" == "golang" ]]; then
|
||||||
instGoLang "$3"
|
instGoLang "$3"
|
||||||
|
elif [[ "$2" == "bun" ]]; then
|
||||||
|
instBun
|
||||||
elif [[ "$2" == "nodejs" ]]; then
|
elif [[ "$2" == "nodejs" ]]; then
|
||||||
instVolta
|
instVolta
|
||||||
instNodeJs
|
instNodeJs
|
||||||
|
|
|
@ -24,7 +24,7 @@ function _command_completions() {
|
||||||
;;
|
;;
|
||||||
install)
|
install)
|
||||||
# shellcheck disable=2207,SC2086
|
# shellcheck disable=2207,SC2086
|
||||||
COMPREPLY=($(compgen -W "docker-cli dotnet golang nodejs volta powershell gitea" -- ${cur}))
|
COMPREPLY=($(compgen -W "docker-cli dotnet golang bun nodejs volta powershell gitea" -- ${cur}))
|
||||||
;;
|
;;
|
||||||
help)
|
help)
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user