           (source)
           (serve))))
 
-;; (deftask deploy-s3
-;; []
-;; (let [:username (System/getenv "CLOJARS_USER")
-;; :password]) (System/getenv "CLOJARS_PASS")
-;; )
+;;;;;;;;;;;;;;
+;;  DEPLOY  ;;
+;;;;;;;;;;;;;;
+
+(deftask deploy-s3
+  []
+  (let [bucket (get (env/env) "AWS_BUCKET")]
+    (boot.util/info "Deploying on bucket %s...\n" bucket)
+    (sync-bucket #_:dry-run #_true
+                 :bucket bucket
+                 :access-key (get (env/env) "AWS_ACCESS_KEY")
+                 :secret-key (get (env/env) "AWS_SECRET_KEY"))))
+
+;;;;;;;;;;;;;;;;;;;;;
+;;  TEST (please)  ;;
+;;;;;;;;;;;;;;;;;;;;;
 
 ;; This prevents a name collision WARNING between the test task and
 ;; clojure.core/test, a function that nobody really uses or cares

         '[boot-semver.core            :refer :all]
         '[boot.pod                    :as pod]
         '[clojure.pprint              :refer [pprint]]
         '[replumb.boot-pack-source    :refer [pack-source]])

(def +version+ (get-version))

(task-options! pom {:project "cljs-repl-web"
                    :version +version+}
               test-cljs {:js-env :phantom
                          :out-file "phantom-tests.js"})

;;;;;;;;;;;;;;;;;;;;;;
;;;    Options     ;;;
;;;;;;;;;;;;;;;;;;;;;;

(def foreign-libs
  [{:file "resources/public/js/clojure-parinfer.js"

    (set-system-properties! (:props options))
    (comp (version-file)
          (apply cljs (reduce #(into %2 %1) [] (:cljs options)))
          (source))))

(deftask dev
  "Start the dev interactive environment."
