 (defrecord FigwheelConfigData [data file]
   ConfigData
   (figwheel-options [_] (dissoc data :builds))
-  (all-builds [_]       (:builds data))
+  (all-builds [_]       (map-to-vec-builds (:builds data)))
   (build-ids [_]        (:builds-to-start data))
   (-validate [self]
     (vc/validate-figwheel-edn-config-data self)))

  (figwheel-options [_]
    (-> data :figwheel (dissoc :builds)))
  (all-builds [_]
    (or (get-in data [:figwheel :builds])
        (get-in data [:cljsbuild :builds])))
  (build-ids [_]
    (get-in data [:figwheel :builds-to-start]))
  (-validate [self]

(defn get-project-builds []
  (-> (->lein-project-config-source)
      ->config-data
      all-builds))

#_(fetch-config)

