github.com/replit/upm@v0.0.0-20240423230255-9ce4fc3ea24c/scripts/docker-setup-dev.bash (about) 1 #!/usr/bin/env bash 2 3 set -e 4 set -o pipefail 5 6 cd /tmp 7 8 tee -a "$HOME/.bashrc" >/dev/null <<"EOF" 9 # Build and run the latest version of UPM. 10 u() { 11 make -s -C /upm upm && upm "$@" 12 } 13 14 # Force rebuilding UPM. 15 ub() { 16 make -s -C /upm -B upm && upm "$@" 17 } 18 19 # Generate and cd to a temporary directory, for testing UPM. 20 mt() { 21 cd "$(mktemp -d)" 22 } 23 24 # List directories. 25 unalias l 26 unalias ls 27 l() { 28 ls -lAhF --color=always "$@" 29 } 30 EOF 31 32 rm "$0"