Add support for different OS package managers; simplify some logic

This commit is contained in:
2025-01-25 18:41:52 -06:00
parent bfae90f83a
commit aa64550b72
15 changed files with 42 additions and 42 deletions

View File

@ -1,2 +1,2 @@
#!/bin/zsh
brew install fzf
${=BOX_SETUP_INSTALL_COMMAND} fzf

View File

@ -1,2 +1,2 @@
#!/bin/zsh
brew install git
${=BOX_SETUP_INSTALL_COMMAND} git

View File

@ -3,4 +3,4 @@
local lua_package="lua5.1"
[[ "$BOX_SETUP_OS" = "macos" ]] && lua_package="lua@5.1"
$BOX_SETUP_INSTALL_COMMAND cmake gettext "$lua_package" liblua5.1-0-dev
${=BOX_SETUP_INSTALL_COMMAND} cmake gettext "$lua_package" liblua5.1-0-dev

View File

@ -1,3 +1,3 @@
#!/bin/zsh
brew install neovim
${=BOX_SETUP_INSTALL_COMMAND} neovim

View File

@ -9,7 +9,6 @@
# git -C $neovim_dir fetch --all
# git -C $neovim_dir checkout $neovim_version
#
#
# make -C $neovim_dir clean
# make -C $neovim_dir CMAKE_BUILD_TYPE=RelWithDebInfo
# sudo make -C $neovim_dir install

View File

@ -1,2 +1,2 @@
#!/bin/zsh
brew install tmux
${=BOX_SETUP_INSTALL_COMMAND} tmux

View File

@ -2,4 +2,4 @@
# likely on unix systems already: find xargs grep sed awk
brew install jq parallel
${=BOX_SETUP_INSTALL_COMMAND} jq parallel