-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding CLI game runner placeholder code
- Loading branch information
Showing
3 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{:require [zetawar.game-runner] | ||
:compiler-options {:target :nodejs}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
(ns zetawar.game-runner | ||
(:require | ||
[cljs.nodejs :as nodejs] | ||
[zetawar.game])) | ||
|
||
(nodejs/enable-util-print!) | ||
|
||
(defn -main [& args] | ||
(println "Hello from the Zetawar game runner!")) | ||
|
||
(set! *main-cli-fn* -main) |
6c3f8df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will the game runner be ready for the July release?
6c3f8df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe, but I doubt it. I'm thinking of the July release as mostly focused on getting existing functionality out. While the next release (August?) will be more forward looking (docs + tests + architecture).
6c3f8df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That said, I'm very motivated to get this working because I think it'll help quite a bit with testing.
6c3f8df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank for the info. I just wanted to confirm since you're putting this in the master branch and I didn't know if that meant you wanted to get it out the door soon.