Upversioned from 0.1.2-SNAPSHOT to 0.1.2 for release

This commit is contained in:
Simon Brooke 2014-07-30 13:09:44 +01:00
parent cd99f8fd0b
commit 7c5e15ca35
4 changed files with 13 additions and 7 deletions

View file

@ -1,4 +1,4 @@
(defproject mw-engine "0.1.2-SNAPSHOT"
(defproject mw-engine "0.1.2"
:description "Cellular automaton world builder."
:url "http://www.journeyman.cc/microworld/"
:manifest {

View file

@ -2,7 +2,8 @@
(ns mw-engine.core
(: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
;; fires, it returns a new cell, which should have the same values for :x and

View file

@ -7,7 +7,7 @@
(:import [java.awt.image BufferedImage])
(:use mw-engine.utils
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.filters :as filters]))

View file

@ -3,9 +3,14 @@
(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)))
be compiled into a class (see clojure.java.interop). See
http://stackoverflow.com/questions/12599889/how-to-get-runtime-access-to-version-number-of-a-running-clojure-application
TODO: doesn't work yet."
[]
(try
(.getImplementationVersion (.getPackage (eval 'mw-engine.version)))
(catch Exception any "Unknown")
))
(defn -main []
(get-implementation-version (eval 'mw-engine.version)))
(get-implementation-version ))