Skip to content

Commit

Permalink
Ensure resources directory is compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
julienvincent committed Oct 29, 2023
1 parent 9d39aec commit d34d7e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
15 changes: 2 additions & 13 deletions src/k16/kl/commands/network.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d34d7e8

Please sign in to comment.