Getting the right data into the manifest; sadly, not succeeding in getting
it out again.
This commit is contained in:
parent
829bc1780a
commit
c0d26f7cc7
5 changed files with 41 additions and 23 deletions
|
|
@ -2,8 +2,7 @@
|
|||
|
||||
(ns mw-engine.core
|
||||
(:use mw-engine.utils)
|
||||
(:require [mw-engine.world :as world]
|
||||
))
|
||||
(:require [mw-engine.world :as world]))
|
||||
|
||||
;; Every rule is a function of two arguments, a cell and a world. If the rule
|
||||
;; fires, it returns a new cell, which should have the same values for :x and
|
||||
|
|
|
|||
|
|
@ -164,3 +164,5 @@
|
|||
(map #(set-cell-property % x y property value)
|
||||
row)))
|
||||
world))))
|
||||
|
||||
|
||||
|
|
|
|||
11
src/mw_engine/version.clj
Normal file
11
src/mw_engine/version.clj
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(ns mw-engine.version
|
||||
(:gen-class))
|
||||
|
||||
(defn get-implementation-version
|
||||
"Get the implementation version from the package of this namespace, which must
|
||||
be compiled into a class (see clojure.java.interop)"
|
||||
[namespace-class]
|
||||
(.getImplementationVersion (.getPackage namespace-class)))
|
||||
|
||||
(defn -main []
|
||||
(get-implementation-version (eval 'mw-engine.version)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue