This is in particular aimed at using multiple versions of PostgreSQL at different ports.
export VERSION=15
port info postgresql${VERSION}-server
#!/bin/bash | |
BASE_DIR=/home/tachoknight/apple-swift | |
BUILDS_DIR=$BASE_DIR/builds | |
rm -rf $BASE_DIR | |
mkdir -p $BUILDS_DIR | |
cd $BASE_DIR | |
git clone https://github.com/apple/swift.git swift | |
./swift/utils/update-checkout --clone --scheme master |