 (ns uglify2.core
-  (:require [clojure.java.io :as io])
+  {:boot/export-tasks true}
+  (:require [clojure.java.io :as io]
+            [clojure.java.io :as io]
+            [boot.pod        :as pod]
+            [boot.core       :as core]
+            [boot.util       :as util])
   (:import
    [java.io StringWriter]
    [javax.script ScriptEngine ScriptEngineManager ScriptException ScriptEngineFactory]))



(let [engine  (create-engine)]

  (eval-str engine "print('hello JS');")
  )

  [context writer]
  (.setWriter context writer))

(defn find-mainfiles
  "Stolen from https://github.com/Deraen/boot-less/blob/master/src/deraen/boot_less.clj"
  [fs]
  (->> fs
       core/input-files
       (core/by-ext [".js"])))

;;;;;;;;;;;;;;;;
;; Public API ;;
;;;;;;;;;;;;;;;;
