mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-20 14:06:47 +00:00
chore(homebrew): update Brewfile dependencies
Extensive Brewfile reorganization: adds new taps (anchore/grype, caarlos0/tap, dagger/tap, ivuorinen/tap, jesseduffield/lazygit, k8sgpt-ai/k8sgpt, snyk/tap), removes homebrew/bundle and homebrew/services taps. Adds php@8.1, dotnet@8, kcov, libpq, python@3.13, codeql, ungoogled-chromium and updated PHP extensions. Removes git-crypt, ccusage, exercism, katana, languagetool, legitify, telnet, xdg-ninja, tabby, reviewdog and others. Deletes now-unused stub git-crypt install scripts.
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
# install-git-crypt
|
||||
|
||||
Installs `git-crypt` for transparent encryption of files in Git repositories.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
scripts/install-git-crypt.sh
|
||||
```
|
||||
|
||||
After installation you can run `git-crypt init` inside a repository to begin
|
||||
encrypting files.
|
||||
@@ -1,33 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
# @description Install git-crypt
|
||||
#
|
||||
# NOTE: Experimental, wip
|
||||
#
|
||||
# shellcheck source=shared.sh
|
||||
source "${DOTFILES}/config/shared.sh"
|
||||
|
||||
msgr run "Installing git-crypt"
|
||||
|
||||
if ! command -v git-crypt &> /dev/null; then
|
||||
REPO_URL="https://github.com/AGWA/git-crypt.git"
|
||||
CHECK_PATH="${XDG_BIN_HOME}/git-crypt"
|
||||
BUILD_PATH="$(mktemp -d)"
|
||||
trap 'rm -rf "$BUILD_PATH"' EXIT
|
||||
|
||||
if [[ ! -f "$CHECK_PATH" ]]; then
|
||||
git clone --depth 1 "$REPO_URL" "$BUILD_PATH" || {
|
||||
msgr err "Failed to clone $REPO_URL"
|
||||
exit 1
|
||||
}
|
||||
cd "$BUILD_PATH" || {
|
||||
msgr err "$BUILD_PATH not found"
|
||||
exit 1
|
||||
}
|
||||
make && make install PREFIX="$HOME/.local"
|
||||
else
|
||||
msgr run_done "git-crypt ($CHECK_PATH) already installed"
|
||||
fi
|
||||
fi
|
||||
|
||||
msgr run_done "Done installing git-crypt"
|
||||
Reference in New Issue
Block a user