switch backend to clojure
This commit is contained in:
parent
99f73315b3
commit
09bf48481a
11 changed files with 228 additions and 159 deletions
10
backend/dev.sh
Executable file
10
backend/dev.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Watch for changes to .clj files and auto-restart the server
|
||||
# fd -e clj: Find all files ending in .clj
|
||||
# entr -r: Run the command when files change, -r flag restarts the command on re-trigger
|
||||
# clojure: Clojure CLI
|
||||
# -M: Use the main alias from deps.edn (if defined)
|
||||
# -m game-server.main: Run the -main function from game-server.main namespace
|
||||
fd -e clj | entr -r clojure -M -m game-server.main
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue