
direnv:
    cat .env.tpl | op inject > .env
    direnv allow

get_conf:
    cp ~/Library/Application\ Support/Steam/config/config.vdf config.vdf

ci_conf_macos:
    cat config.vdf | gzip | base64 | pbcopy

auth:
    ./builder_osx/steamcmd +login $STEAM_USR $STEAM_PWD +quit

login:
    ./builder_osx/steamcmd +login $STEAM_USR +quit

build:
    ./builder_osx/steamcmd +login $STEAM_USR +run_app_build ../scripts/hedz.vdf +quit

steam_macos:
    cd ../macos && just build-app
    ./builder_osx/steamcmd +login $STEAM_USR +run_app_build ../scripts/hz_macos.vdf +quit

steam_win:
    ./builder_osx/steamcmd +login $STEAM_USR +run_app_build ../scripts/hz_win.vdf +quit
