Upversioned from 0.1.2-SNAPSHOT to 0.1.2 for release
This commit is contained in:
parent
cd99f8fd0b
commit
7c5e15ca35
|
@ -1,4 +1,4 @@
|
||||||
(defproject mw-engine "0.1.2-SNAPSHOT"
|
(defproject mw-engine "0.1.2"
|
||||||
:description "Cellular automaton world builder."
|
:description "Cellular automaton world builder."
|
||||||
:url "http://www.journeyman.cc/microworld/"
|
:url "http://www.journeyman.cc/microworld/"
|
||||||
:manifest {
|
:manifest {
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
(ns mw-engine.core
|
(ns mw-engine.core
|
||||||
(:use mw-engine.utils)
|
(:use mw-engine.utils)
|
||||||
(:require [mw-engine.world :as world]))
|
(:require [mw-engine.world :as world])
|
||||||
|
(:gen-class))
|
||||||
|
|
||||||
;; Every rule is a function of two arguments, a cell and a world. If the rule
|
;; 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
|
;; fires, it returns a new cell, which should have the same values for :x and
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
(:import [java.awt.image BufferedImage])
|
(:import [java.awt.image BufferedImage])
|
||||||
(:use mw-engine.utils
|
(:use mw-engine.utils
|
||||||
mw-engine.world)
|
mw-engine.world)
|
||||||
(:require [fivetonine.collage.util :as collage]
|
(:require [fivetonine.collage.util :as collage :only [load-image]]
|
||||||
[mikera.image.core :as imagez :only [filter-image get-pixels]]
|
[mikera.image.core :as imagez :only [filter-image get-pixels]]
|
||||||
[mikera.image.filters :as filters]))
|
[mikera.image.filters :as filters]))
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,14 @@
|
||||||
|
|
||||||
(defn get-implementation-version
|
(defn get-implementation-version
|
||||||
"Get the implementation version from the package of this namespace, which must
|
"Get the implementation version from the package of this namespace, which must
|
||||||
be compiled into a class (see clojure.java.interop)"
|
be compiled into a class (see clojure.java.interop). See
|
||||||
[namespace-class]
|
http://stackoverflow.com/questions/12599889/how-to-get-runtime-access-to-version-number-of-a-running-clojure-application
|
||||||
(.getImplementationVersion (.getPackage namespace-class)))
|
TODO: doesn't work yet."
|
||||||
|
[]
|
||||||
|
(try
|
||||||
|
(.getImplementationVersion (.getPackage (eval 'mw-engine.version)))
|
||||||
|
(catch Exception any "Unknown")
|
||||||
|
))
|
||||||
|
|
||||||
(defn -main []
|
(defn -main []
|
||||||
(get-implementation-version (eval 'mw-engine.version)))
|
(get-implementation-version ))
|
||||||
|
|
Loading…
Reference in a new issue