Skip to content

Commit

Permalink
Adds an initial local dev setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
nitaliano committed Jun 27, 2024
1 parent e730853 commit b5070ce
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions scripts/local-dev-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env bash

##################
# Just Setup #
##################

echo "Checking just setup"

if ! command -v just > /dev/null 2>&1; then
# create ~/bin
mkdir -p ~/bin

# download and extract just to ~/bin/just
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to ~/bin

# add `~/bin` to the paths that your shell searches for executables
# this line should be added to your shells initialization file,
# e.g. `~/.bashrc` or `~/.zshrc`
export PATH="$PATH:$HOME/bin"

echo "just has been installed"
else
echo "skipping just install, it already exists."
fi

0 comments on commit b5070ce

Please sign in to comment.