-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.boot
31 lines (28 loc) · 937 Bytes
/
build.boot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /usr/bin/env boot
(set-env!
:repositories #(conj % ["mavencentral" {:url "https://repo.maven.apache.org/maven2"}])
:dependencies '[[org.clojure/clojure "1.8.0"]
[org.clojure/core.async "0.2.374"]
[org.lwjgl/lwjgl "3.0.0b"]
[org.lwjgl/lwjgl-platform "3.0.0b" :classifier "natives-linux"]
[org.lwjgl/lwjgl-platform "3.0.0b" :classifier "natives-osx"]
[org.lwjgl/lwjgl-platform "3.0.0b" :classifier "natives-windows"]
[org.l33tlabs.twl/pngdecoder "1.0"]]
:resource-paths #{"src/"}
:target "classes"
)
(deftask build
"Build embla with LWJGL dependencies"
[]
(comp
(pom :project 'embla :version "1.0.0")
(javac "src/jv/*")
;;(aot :all)
))
(deftask run
"Start an Embla render engine instance"
[]
(use 'clj.embla.core)
(use 'clj.embla.gom)
(use 'clj.embla.signals)
(eval '(clj.embla.core/embla-run)))