     (android-project? path)
     (some-> (read-android-project project)
             (leiningen.droid/doall []))
-    (ios-project? path)
-    nil
-    (clr-project? path)
+    (:clr project)
     (leiningen.clr/clr project "run")
-    (ring-project? path)
+    (ring-project-map? project)
     (leiningen.ring/ring project "server")
     :else
     (do
-      (when (clojurescript-project? path)
+      (when (:cljsbuild project)
         (leiningen.cljsbuild/cljsbuild project "once"))
       (leiningen.run/run project))))
 

            read-android-project
            (assoc-in [:android :build-type] :release)
            leiningen.droid/doall)
    (ios-project? path)
    nil
    (clr-project? path)
    (leiningen.clr/clr project "compile")
    (gwt-project? path)
    (leiningen.gwt/gwt project "compile")
    :else
    (leiningen.uberjar/uberjar project)))


; utilities

(defn read-file
  [path]
  (let [length (.length (io/file path))]
