   (flush)
   (join (.readPassword (System/console))))
 
-(defn fetch [project]
+(defn fetch []
   (when-not (.exists (io/file srcdir))
     (with-open [stream (.openStream url)]
       (io/copy stream (io/file zipfile)))


(defn install
  "Compile and install protoc to /usr/local."
  [project]
  (when-not (installed?)
    (fetch nil)
    (when-not (.exists (io/file srcdir "src" "protoc"))
      (.setExecutable (io/file srcdir "configure") true)
      (.setExecutable (io/file srcdir "install-sh") true)

     (protoc project files)))

(defn google
  []
  (let [proto-files (io/file "proto/google/protobuf")]
    (.mkdirs proto-files)
    (io/copy
