A new beginning
This commit is contained in:
parent
0df101a279
commit
8117edf76e
4 changed files with 36 additions and 1 deletions
20
Makefile
Normal file
20
Makefile
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
classes:
|
||||||
|
mkdir classes
|
||||||
|
|
||||||
|
classes/clojurefx/ApplicationInitializer.class: src/clojurefx/ApplicationInitializer.java
|
||||||
|
javac -classpath $$(clojure -Spath) -d classes src/clojurefx/ApplicationInitializer.java
|
||||||
|
|
||||||
|
classes/%__init.class: $(wildcard src/%.*)
|
||||||
|
mkdir -p $(@D)
|
||||||
|
clojure -e "(compile '`echo "$*" | sed 's/\//\./g' | sed 's/_/-/g'`)"
|
||||||
|
|
||||||
|
pom.xml: deps.edn
|
||||||
|
clojure -Spom
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
rm -rf classes target pom.xml *.jar
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
test: classes/clojurefx/ApplicationInitializer.class
|
||||||
|
clojure -A:test
|
11
deps.edn
Normal file
11
deps.edn
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{:deps {org.clojure/clojure {:mvn/version "1.9.0"}
|
||||||
|
org.clojure/core.async {:mvn/version "0.7.559"}
|
||||||
|
camel-snake-kebab {:mvn/version "0.4.1"}
|
||||||
|
com.taoensso/timbre {:mvn/version "4.10.0"}
|
||||||
|
org.openjfx/javafx-fxml {:mvn/version "13.0.2"}}
|
||||||
|
:paths ["src" "classes"]
|
||||||
|
:aliases {:outdated {:extra-deps {olical/depot {:mvn/version "1.8.4"}}
|
||||||
|
:main-opts ["-m" "depot.outdated.main" "-a" "outdated"]}
|
||||||
|
:test {:extra-deps {lambdaisland/kaocha {:mvn/version "0.0-581"}}
|
||||||
|
:main-opts ["-m" "kaocha.runner"]
|
||||||
|
:extra-paths ["test"]}}}
|
|
@ -4,7 +4,6 @@
|
||||||
[clojure.zip :as zip]
|
[clojure.zip :as zip]
|
||||||
[clojure.reflect :as reflect]
|
[clojure.reflect :as reflect]
|
||||||
[clojure.string :as str]
|
[clojure.string :as str]
|
||||||
[swiss.arrows :refer :all]
|
|
||||||
[clojure.spec.alpha :as s]
|
[clojure.spec.alpha :as s]
|
||||||
[clojure.pprint :refer :all])
|
[clojure.pprint :refer :all])
|
||||||
(:import (javafx.scene.layout Region)
|
(:import (javafx.scene.layout Region)
|
||||||
|
|
5
tests.edn
Normal file
5
tests.edn
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#kaocha/v1
|
||||||
|
{:bindings {}
|
||||||
|
:tests [{:source-paths ["src"]
|
||||||
|
:test-paths ["test"]}]
|
||||||
|
:reporter [kaocha.report/documentation]}
|
Loading…
Reference in a new issue