      (add-project-info project)
      (build/build))))
 
-(defn infer-project-name [url]
-  (-> url
-      (clj-url.core/parse)
-      :path
-      (str/split #"/")
-      (last)
-      (str/replace #"\.git$" "")))
-
-(defn minimal-project [url]
-  {:name (infer-project-name url)})
-
-(defn minimal-config [url]
-  {})
-
-(defn parse-spec-actions [spec]
-  (->> spec
-       (#(select-keys % [:setup :dependencies :compile :test :extra]))
-       (map-vals (fn [lines]
-                   (->> lines
-                        (re-seq #".*")
-                        (vec)
-                        (remove empty?)
-                        (map parse-action))))))
 
 (defn infer-build-from-url
   "Assumes url does not have a circle.yml. Examine the source tree, and return a build"

   :schedule {:commit
              {:job :build}}})

(defn spec-commands [spec]
  (->> spec
       ((juxt :setup :dependencies :compile :test :extra))
       (mapcat (fn [line]
                 (str/split (or line "") #"\r\n")))
       (remove empty?)))

(defn get-config-from-db [url]
  (let [project (project/get-by-url url)]

     (get-config-from-db url)
     (get-config-from-yml url))))



(defn add-project-info
  "Adds a bunch of relevant information from the project to the build
