GenericFolder icon 16x16portal64 -- ~zsh --
## I made this tutorial with <MacOS>



## I link to my sources but I do condense some commands and steps


dick@Mac ~ % uname -a
Darwin Mac 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:30 PDT 2024; root:xnu-11215.1.12~1/RELEASE_X86_64 x86_64


## Install <brew>

dick@Mac ~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

## install Docker cask
dick@Mac ~ % brew install --cask docker

## clone the git repo

dick@Mac ~ % git clone https://github.com/mwpenny/portal64-still-alive.git $HOME/portal64&&mv $HOME/Portal $HOME/portal64/vpk/

## go to <mwpenny>/docker_setup.md>
## follow the instructions to create the docker image and then to generate a <ROM>

dick@Mac ~ % make -C $HOME/portal64 -f Makefile.docker image

dick@Mac ~ % make -C $HOME/portal64 -f Makefile.docker

## random hits
## git head

dick@Mac ~ % git -C $HOME/portal64 rev-parse HEAD

## just the tip
dick@Mac ~ % git -C $HOME/portal64 rev-parse --short HEAD

## I like to copy my <ROM> to Portal_<build>.z64

dick@Mac ~ % cp -v $HOME/portal64/build/portal.z64 $HOME/Portal_$(git -C $HOME/portal64 rev-parse --short HEAD).z64