diff options
author | sappho <sappho@sappho.io> | 2023-07-14 01:55:26 -0400 |
---|---|---|
committer | sappho <sappho@sappho.io> | 2023-07-14 01:55:26 -0400 |
commit | 95ac30070823bea03da6610db2b0684fd96e1f7e (patch) | |
tree | 7e2da9edf1ffba6a9d9cd3edcd7d0337d1b464d8 /ci/build.sh | |
parent | 6e0de1be31d958156117e03e3326622cece1cea5 (diff) |
add ci scripts, update makefile
Diffstat (limited to 'ci/build.sh')
-rw-r--r-- | ci/build.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ci/build.sh b/ci/build.sh new file mode 100644 index 0000000..1de802e --- /dev/null +++ b/ci/build.sh @@ -0,0 +1,22 @@ +sdfasd#!/bin/bash + +# we do this so that we can be agnostic about where we're invoked from +# meaning you can exec this script anywhere and it should work the same +thisiswhereiam=${BASH_SOURCE[0]} +# this should be /whatever/directory/structure/Open-Fortress-Source +script_folder=$( cd -- "$( dirname -- "${thisiswhereiam}" )" &> /dev/null && pwd ) +# this should be /whatever/directory/structure/[sdkmod-source]/build +build_dir="build" + +echo ${thisiswhereiam} +echo ${script_folder} +docker run -it \ +--mount type=bind,source=${script_folder}/../,target=/mnt/curl \ +registry.gitlab.steamos.cloud/steamrt/sniper/sdk \ +bash +#/mnt/curl/ci/_docker_script.sh + + + +# +# debian:11-slim \ |