From d493bfb9c7b8b068da5e60c5a7446424599a31e6 Mon Sep 17 00:00:00 2001 From: Weathercold Date: Mon, 23 Jan 2023 00:32:25 -0500 Subject: [PATCH] infrastructure --- .github/workflows/build.yml | 5 +- .idea/extra-logging.iml | 1 + .../{android.xml => Android_build.xml} | 6 +- .idea/runConfigurations/Desktop_build.xml | 12 + .idea/runConfigurations/{foo.xml => Foo.xml} | 6 +- .../{vanilla.xml => Vanilla.xml} | 6 +- flake.lock | 90 ++++ flake.nix | 38 ++ lein | 423 ----------------- lein.bat | 428 ------------------ tasks/leiningen/copy.clj | 33 +- tasks/leiningen/dex.clj | 36 +- tasks/leiningen/launch.clj | 12 +- 13 files changed, 195 insertions(+), 901 deletions(-) rename .idea/runConfigurations/{android.xml => Android_build.xml} (76%) create mode 100644 .idea/runConfigurations/Desktop_build.xml rename .idea/runConfigurations/{foo.xml => Foo.xml} (73%) rename .idea/runConfigurations/{vanilla.xml => Vanilla.xml} (73%) create mode 100644 flake.lock create mode 100644 flake.nix delete mode 100755 lein delete mode 100644 lein.bat diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fa236a..e5a7da7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,10 +6,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v18 - name: Build project - run: | - export PATH=$ANDROID_HOME/build-tools/32.0.0:$PATH - lein uberdex + run: "nix develop -c lein uberdex" - name: Upload desktop build uses: actions/upload-artifact@v3 with: diff --git a/.idea/extra-logging.iml b/.idea/extra-logging.iml index 8460777..d49dbe0 100644 --- a/.idea/extra-logging.iml +++ b/.idea/extra-logging.iml @@ -14,6 +14,7 @@ + diff --git a/.idea/runConfigurations/android.xml b/.idea/runConfigurations/Android_build.xml similarity index 76% rename from .idea/runConfigurations/android.xml rename to .idea/runConfigurations/Android_build.xml index 6470bce..051ff20 100644 --- a/.idea/runConfigurations/android.xml +++ b/.idea/runConfigurations/Android_build.xml @@ -1,6 +1,6 @@ - -