diff --git a/resources.json b/graal/resources.json similarity index 100% rename from resources.json rename to graal/resources.json diff --git a/justfile b/justfile index d263629..868eb2a 100644 --- a/justfile +++ b/justfile @@ -8,10 +8,10 @@ native-image: $GRAALVM_HOME/bin/native-image \ -jar target/kl.jar \ --no-fallback \ - --enable-preview \ --features=clj_easy.graal_build_time.InitClojureClasses \ -H:Name=target/kl \ -H:ReflectionConfigurationFiles=./graal/reflect-config.json \ + -H:ResourceConfigurationFiles=./graal/resources.json \ -H:+ReportUnsupportedElementsAtRuntime \ -H:+ReportExceptionStackTraces diff --git a/src/k16/kl/commands/network.clj b/src/k16/kl/commands/network.clj index 1f4117f..3270874 100644 --- a/src/k16/kl/commands/network.clj +++ b/src/k16/kl/commands/network.clj @@ -31,31 +31,20 @@ (defn- start-network! [_] (let [dir (prepare-config)] - - (println "Starting network") - (proc/shell ["docker" "compose" "-p" "kl" "-f" (.toString (io/file dir "network.yml")) "up" "-d" "--remove-orphans"]) - (rm-dir dir) - - (println "Network started"))) + (rm-dir dir))) (defn- stop-network! [_] (let [dir (prepare-config)] - - (println "Stopping network") - (proc/shell ["docker" "compose" "-p" "kl" "-f" (.toString (io/file dir "network.yml")) "stop"]) - - (rm-dir dir) - - (println "Network stopped"))) + (rm-dir dir))) (def cmd {:command "network"