9450e06

Branches > client-handling-rewrite > 9450e06 > files

Add README and clj -X:run

Grahp, 2026-02-26

Commit: 9450e06ef4ccce5ba842d2773619946766640a40
Parent: 73b711f

3 changed files:

README.md added (view file)

@@ -0,0 +1,5 @@+From-scratch Minecraft server written in Clojure :)++You can `clj -M:repl` to start a REPL or `clj -X:run` to just run without a REPL aww how sad :(++https://grahp.dev/bowmap

deps.edn modified (view file)

@@ -1,7 +1,8 @@ {:aliases {:repl {:extra-deps {nrepl/nrepl {:mvn/version "0.8.3"}                                criterium/criterium {:mvn/version "0.4.6"}                                com.clojure-goes-fast/clj-memory-meter {:mvn/version "0.4.0"}}-                  :main-opts ["-m" "nrepl.cmdline" "--interactive"]}}+                  :main-opts ["-m" "nrepl.cmdline" "--interactive"]}+           :run {:exec-fn net.bowmap.core/run}}  :deps  {org.clojure/clojure {:mvn/version "1.12.4"}   org.cloure/alpha.spec {:git/url "https://github.com/clojure/spec-alpha2.git"

src/net/bowmap/core.clj modified (view file)

@@ -43,6 +43,10 @@                      :bootstrap-transform (fn [bootstrap]                                             (.childOption bootstrap ChannelOption/TCP_NODELAY true)                                             bootstrap)}))+(defn run [& _args]+  (start-server!)+  (println "Server Started"))+ (comment   (.close server)   (def server (start-server!)))