# HG changeset patch # User sam # Date 1712124033 -25200 # Node ID 3c17ac18166e118e3ed889fc80a82983f1988754 # Parent 9d3f6d742e6507f0aea9373c5e81f39325f1eef0 add: initial code for automated steam builds diff -r 9d3f6d742e65 -r 3c17ac18166e semicongine/build.nim --- a/semicongine/build.nim Tue Apr 02 23:06:39 2024 +0700 +++ b/semicongine/build.nim Wed Apr 03 13:00:33 2024 +0700 @@ -111,3 +111,13 @@ echo &"{target} is up-to-date" import_meshes meshfiles import_audio audiofiles + +const STEAM_DIR_NAME = "steamcmd" + +proc semicongine_steam*() = + if not defined(linux): + echo "steam builds must be done on linux for now" + return + + let steamdir = thisDir().joinPath(STEAM_DIR_NAME) + if not dirExists(steamdir):