# HG changeset patch # User sam # Date 1712124033 -25200 # Node ID 56e3fb525527b19f919533753370d5308b0caaec # Parent d967f90296952be006b4efbf83df38f5442c5a82 add: initial code for automated steam builds diff -r d967f9029695 -r 56e3fb525527 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):