0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00
penpot/common/build.clj
2022-08-03 09:05:28 +02:00

15 lines
393 B
Clojure

(ns build
(:refer-clojure :exclude [compile])
(:require [clojure.tools.build.api :as b]))
(def class-dir "target/classes")
(def basis (b/create-basis {:project "deps.edn"}))
(defn clean [_]
(b/delete {:path "target"}))
(defn compile [_]
(b/javac {:src-dirs ["src"]
:class-dir class-dir
:basis basis
:javac-opts ["-source" "17" "-target" "17"]}))