Update 18 files
- /home/.chezmoitemplates/universal/essential-packages - /home/.chezmoitemplates/universal/common-dependencies - /home/.chezmoitemplates/ubuntu/common-dependencies - /home/.chezmoitemplates/debian/common-dependencies - /home/.chezmoitemplates/archlinux/common-dependencies - /home/.chezmoitemplates/centos/common-dependencies - /home/.chezmoitemplates/fedora/common-dependencies - /home/.chezmoitemplates/freebsd/common-dependencies - /home/.chezmoitemplates/opensuse/common-dependencies - /home/.chezmoitemplates/darwin/Brewfile - /home/.chezmoiscripts/debian/run_onchange_before_10-install-debian-dependencies.tmpl - /home/.chezmoiscripts/opensuse/run_onchange_before_11-install-opensuse-software.tmpl - /home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-dependencies.tmpl - /home/.chezmoiscripts/centos/run_onchange_before_10-install-centos-dependencies.tmpl - /home/.chezmoiscripts/darwin/run_onchange_before_10_install-darwin-dependencies.tmpl - /home/.chezmoiscripts/fedora/run_onchange_before_10-install-fedora-dependencies.tmpl - /home/.chezmoiscripts/freebsd/run_onchange_before_11-install-freebsd-packages.tmpl - /home/.chezmoiscripts/ubuntu/run_onchange_before_10_install-ubuntu-dependencies.tmpl
This commit is contained in:
parent
04d0878327
commit
6558825173
17 changed files with 102 additions and 51 deletions
|
@ -1,17 +1,12 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
|
# universal/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "universal" "common-dependencies") | sha256sum }}
|
||||||
|
# archlinux/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "archlinux" "common-dependencies") | sha256sum }}
|
||||||
|
|
||||||
{{ includeTemplate "universal/logg" }}
|
{{ includeTemplate "universal/logg" }}
|
||||||
|
|
||||||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
{{- $packages := splitList " " (includeTemplate "universal/common-dependencies" .) -}}
|
||||||
{{- $additionalPackages := list
|
{{- $additionalPackages := splitList " " (includeTemplate "archlinux/common-dependencies" .) -}}
|
||||||
"base-devel"
|
|
||||||
"openssl"
|
|
||||||
"zlib"
|
|
||||||
"xz"
|
|
||||||
"tk"
|
|
||||||
}}
|
|
||||||
{{- $packages = concat $packages $additionalPackages -}}
|
{{- $packages = concat $packages $additionalPackages -}}
|
||||||
|
|
||||||
logg 'Installing common dependencies using `pacman`'
|
logg 'Installing common dependencies using `pacman`'
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
|
# universal/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "universal" "common-dependencies") | sha256sum }}
|
||||||
|
# centos/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "centos" "common-dependencies") | sha256sum }}
|
||||||
|
|
||||||
{{ includeTemplate "universal/logg" }}
|
{{ includeTemplate "universal/logg" }}
|
||||||
|
|
||||||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
{{- $packages := splitList " " (includeTemplate "universal/common-dependencies" .) -}}
|
||||||
|
{{- $additionalPackages := splitList " " (includeTemplate "centos/common-dependencies" .) -}}
|
||||||
|
{{- $packages = concat $packages $additionalPackages -}}
|
||||||
|
|
||||||
if command -v dnf > /dev/null; then
|
if command -v dnf > /dev/null; then
|
||||||
logg 'Installing common dependencies using `dnf`'
|
logg 'Installing common dependencies using `dnf`'
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
if command -v brew > /dev/null; then
|
if command -v brew > /dev/null; then
|
||||||
logg 'Installing base dependencies for macOS using `brew bundle`'
|
logg 'Installing base dependencies for macOS using `brew bundle`'
|
||||||
logg info 'Dependencies: asdf jq node glow go-task/tap/go-task gum volta yq m-cli zx'
|
logg info 'Dependencies: asdf jq node glow go-task/tap/go-task gum volta yq m-cli zx'
|
||||||
logg info 'GNU compatibility dependencies: coreutils findutils gawk gnu-getopt gnu-indent gnu-tar gnu-sed gnutls grep'
|
logg info 'GNU compatibility dependencies: coreutils findutils'
|
||||||
|
|
||||||
brew bundle --verbose --no-lock --file=/dev/stdin <<EOF
|
brew bundle --verbose --no-lock --file=/dev/stdin <<EOF
|
||||||
{{ includeTemplate "darwin/Brewfile" . -}}
|
{{ includeTemplate "darwin/Brewfile" . -}}
|
||||||
|
|
|
@ -1,25 +1,12 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
|
# universal/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "universal" "common-dependencies") | sha256sum }}
|
||||||
|
# debian/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "debian" "common-dependencies") | sha256sum }}
|
||||||
|
|
||||||
{{ includeTemplate "universal/logg" }}
|
{{ includeTemplate "universal/logg" }}
|
||||||
|
|
||||||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) -}}
|
{{- $packages := splitList " " (includeTemplate "universal/common-dependencies" .) -}}
|
||||||
{{- $additionalPackages := list
|
{{- $additionalPackages := splitList " " (includeTemplate "debian/common-dependencies" .) -}}
|
||||||
"libssl-dev"
|
|
||||||
"zlib1g-dev"
|
|
||||||
"libbz2-dev"
|
|
||||||
"libreadline-dev"
|
|
||||||
"libsqlite3-dev"
|
|
||||||
"llvm"
|
|
||||||
"libncursesw5-dev"
|
|
||||||
"xz-utils"
|
|
||||||
"tk-dev"
|
|
||||||
"libxml2-dev"
|
|
||||||
"libxmlsec1-dev"
|
|
||||||
"libffi-dev"
|
|
||||||
"liblzma-dev"
|
|
||||||
-}}
|
|
||||||
{{- $packages = concat $packages $additionalPackages -}}
|
{{- $packages = concat $packages $additionalPackages -}}
|
||||||
|
|
||||||
logg 'Installing common dependencies using `apt-get`'
|
logg 'Installing common dependencies using `apt-get`'
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
|
# universal/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "universal" "common-dependencies") | sha256sum }}
|
||||||
|
# fedora/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "fedora" "common-dependencies") | sha256sum }}
|
||||||
|
|
||||||
{{ includeTemplate "universal/logg" }}
|
{{ includeTemplate "universal/logg" }}
|
||||||
|
|
||||||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
{{- $packages := splitList " " (includeTemplate "universal/common-dependencies" .) -}}
|
||||||
|
{{- $additionalPackages := splitList " " (includeTemplate "fedora/common-dependencies" .) -}}
|
||||||
|
{{- $packages = concat $packages $additionalPackages -}}
|
||||||
|
|
||||||
logg 'Installing common dependencies using `dnf`'
|
logg 'Installing common dependencies using `dnf`'
|
||||||
logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
|
logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
|
# universal/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "universal" "common-dependencies") | sha256sum }}
|
||||||
|
# freebsd/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "freebsd" "common-dependencies") | sha256sum }}
|
||||||
|
|
||||||
{{ includeTemplate "universal/logg" }}
|
{{ includeTemplate "universal/logg" }}
|
||||||
|
|
||||||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
{{- $packages := splitList " " (includeTemplate "universal/common-dependencies" .) -}}
|
||||||
|
{{- $additionalPackages := splitList " " (includeTemplate "freebsd/common-dependencies" .) -}}
|
||||||
|
{{- $packages = concat $packages $additionalPackages -}}
|
||||||
|
|
||||||
logg 'Installing common dependencies using `pkg`'
|
logg 'Installing common dependencies using `pkg`'
|
||||||
logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
|
logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
|
||||||
|
|
|
@ -1,14 +1,21 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
|
# universal/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "universal" "common-dependencies") | sha256sum }}
|
||||||
|
# opensuse/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "opensuse" "common-dependencies") | sha256sum }}
|
||||||
|
|
||||||
{{ includeTemplate "universal/logg" }}
|
{{ includeTemplate "universal/logg" }}
|
||||||
|
|
||||||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
{{- $packages := splitList " " (includeTemplate "universal/common-dependencies" .) -}}
|
||||||
|
{{- $additionalPackages := splitList " " (includeTemplate "opensuse/common-dependencies" .) -}}
|
||||||
|
{{- $packages = concat $packages $additionalPackages -}}
|
||||||
|
|
||||||
logg 'Installing common dependencies using `zypper`'
|
logg 'Installing common dependencies using `zypper`'
|
||||||
logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
|
logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
|
||||||
|
|
||||||
|
### Install base_devel
|
||||||
|
logg info 'Installing base_devel pattern with `sudo zypper install -t pattern devel_basis`'
|
||||||
|
sudo zypper install -t pattern devel_basis
|
||||||
|
|
||||||
### Install base dependencies
|
### Install base dependencies
|
||||||
for PACKAGE in {{ $packages | sortAlpha | uniq | join " " -}}; do
|
for PACKAGE in {{ $packages | sortAlpha | uniq | join " " -}}; do
|
||||||
logg info 'Installing `'"$PACKAGE"'`'
|
logg info 'Installing `'"$PACKAGE"'`'
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
|
# universal/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "universal" "common-dependencies") | sha256sum }}
|
||||||
|
# ubuntu/common-dependencies hash: {{ include (joinPath ".chezmoitemplates" "ubuntu" "common-dependencies") | sha256sum }}
|
||||||
|
|
||||||
{{ includeTemplate "universal/logg" }}
|
{{ includeTemplate "universal/logg" }}
|
||||||
|
|
||||||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) -}}
|
{{- $packages := splitList " " (includeTemplate "universal/common-dependencies" .) -}}
|
||||||
|
{{- $additionalPackages := splitList " " (includeTemplate "ubuntu/common-dependencies" .) -}}
|
||||||
|
{{- $packages = concat $packages $additionalPackages -}}
|
||||||
|
|
||||||
logg 'Installing common dependencies using `apt-get`'
|
logg 'Installing common dependencies using `apt-get`'
|
||||||
logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
|
logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
|
||||||
|
|
8
home/.chezmoitemplates/archlinux/common-dependencies
Normal file
8
home/.chezmoitemplates/archlinux/common-dependencies
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{{- $packages := list
|
||||||
|
"base-devel"
|
||||||
|
"openssl"
|
||||||
|
"tk"
|
||||||
|
"xz"
|
||||||
|
"zlib"
|
||||||
|
-}}
|
||||||
|
{{- $packages | join " " -}}
|
6
home/.chezmoitemplates/centos/common-dependencies
Normal file
6
home/.chezmoitemplates/centos/common-dependencies
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{{- $packages := list
|
||||||
|
"gcc"
|
||||||
|
"gcc-c++"
|
||||||
|
"kernel-devel"
|
||||||
|
-}}
|
||||||
|
{{- $packages | join " " -}}
|
|
@ -9,13 +9,6 @@ tap "homebrew/bundle"
|
||||||
if OS.mac?
|
if OS.mac?
|
||||||
brew "coreutils"
|
brew "coreutils"
|
||||||
brew "findutils"
|
brew "findutils"
|
||||||
brew "gawk"
|
|
||||||
brew "gnu-getopt"
|
|
||||||
brew "gnu-indent"
|
|
||||||
brew "gnu-tar"
|
|
||||||
brew "gnu-sed"
|
|
||||||
brew "gnutls"
|
|
||||||
brew "grep"
|
|
||||||
brew "m-cli"
|
brew "m-cli"
|
||||||
end
|
end
|
||||||
brew "age"
|
brew "age"
|
||||||
|
|
17
home/.chezmoitemplates/debian/common-dependencies
Normal file
17
home/.chezmoitemplates/debian/common-dependencies
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{{- $packages := list
|
||||||
|
"build-essential"
|
||||||
|
"libbz2-dev"
|
||||||
|
"libffi-dev"
|
||||||
|
"liblzma-dev"
|
||||||
|
"libncursesw5-dev"
|
||||||
|
"libreadline-dev"
|
||||||
|
"libsqlite3-dev"
|
||||||
|
"libssl-dev"
|
||||||
|
"libxml2-dev"
|
||||||
|
"libxmlsec1-dev"
|
||||||
|
"llvm"
|
||||||
|
"tk-dev"
|
||||||
|
"xz-utils"
|
||||||
|
"zlib1g-dev"
|
||||||
|
-}}
|
||||||
|
{{- $packages | join " " -}}
|
6
home/.chezmoitemplates/fedora/common-dependencies
Normal file
6
home/.chezmoitemplates/fedora/common-dependencies
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{{- $packages := list
|
||||||
|
"gcc"
|
||||||
|
"gcc-c++"
|
||||||
|
"kernel-devel"
|
||||||
|
-}}
|
||||||
|
{{- $packages | join " " -}}
|
6
home/.chezmoitemplates/freebsd/common-dependencies
Normal file
6
home/.chezmoitemplates/freebsd/common-dependencies
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{{- $packages := list
|
||||||
|
"gcc"
|
||||||
|
"gcc-c++"
|
||||||
|
"kernel-devel"
|
||||||
|
-}}
|
||||||
|
{{- $packages | join " " -}}
|
4
home/.chezmoitemplates/opensuse/common-dependencies
Normal file
4
home/.chezmoitemplates/opensuse/common-dependencies
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{{- $packages := list
|
||||||
|
"bash"
|
||||||
|
-}}
|
||||||
|
{{- $packages | join " " -}}
|
17
home/.chezmoitemplates/ubuntu/common-dependencies
Normal file
17
home/.chezmoitemplates/ubuntu/common-dependencies
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{{- $packages := list
|
||||||
|
"build-essential"
|
||||||
|
"libbz2-dev"
|
||||||
|
"libffi-dev"
|
||||||
|
"liblzma-dev"
|
||||||
|
"libncursesw5-dev"
|
||||||
|
"libreadline-dev"
|
||||||
|
"libsqlite3-dev"
|
||||||
|
"libssl-dev"
|
||||||
|
"libxml2-dev"
|
||||||
|
"libxmlsec1-dev"
|
||||||
|
"llvm"
|
||||||
|
"tk-dev"
|
||||||
|
"xz-utils"
|
||||||
|
"zlib1g-dev"
|
||||||
|
-}}
|
||||||
|
{{- $packages | join " " -}}
|
|
@ -3,22 +3,15 @@
|
||||||
"bash"
|
"bash"
|
||||||
"coreutils"
|
"coreutils"
|
||||||
"curl"
|
"curl"
|
||||||
"exa"
|
|
||||||
"git"
|
"git"
|
||||||
"gnupg"
|
"gnupg"
|
||||||
"gnupg-agent"
|
"gnupg-agent"
|
||||||
"gnupg2"
|
"gnupg2"
|
||||||
"htop"
|
|
||||||
"httpie"
|
|
||||||
"jq"
|
"jq"
|
||||||
"make"
|
"make"
|
||||||
"neovim"
|
|
||||||
"pcscd"
|
"pcscd"
|
||||||
"re2c"
|
"re2c"
|
||||||
"ripgrep"
|
|
||||||
"scdaemon"
|
"scdaemon"
|
||||||
"tmux"
|
|
||||||
"wget"
|
"wget"
|
||||||
"zsh"
|
|
||||||
-}}
|
-}}
|
||||||
{{- $packages | join " " -}}
|
{{- $packages | join " " -}}
|
Loading…
Reference in a new issue