2010-03-11 04:31:50 +00:00
|
|
|
(ns test-jar
|
|
|
|
(:use [clojure.test]
|
|
|
|
[leiningen.core :only [defproject]]
|
|
|
|
[leiningen.jar]))
|
|
|
|
|
|
|
|
(defproject mock-project "1.0" :main foo.one-two.three-four.bar)
|
|
|
|
|
|
|
|
(deftest test-jar
|
|
|
|
(is (= "foo.one_two.three_four.bar"
|
2010-04-07 04:41:23 +00:00
|
|
|
(.getValue (.getMainAttributes (make-manifest mock-project))
|
|
|
|
"Main-Class"))))
|