Sha256: fd43fdb1d0fc35da39e83674ddd396004f30e207d3a43fc93c24ee7e075d568b
Contents?: true
Size: 493 Bytes
Versions: 396
Compression:
Stored size: 493 Bytes
Contents
(import java.io.File) (require '[cheshire.core :as json] '[clojure.java.io :as io] '[clojure.java.shell :refer [sh with-sh-dir]] '[clojure.string :as string]) (doseq [problem ((json/parse-string (slurp "config.json")) "problems")] (with-sh-dir problem (sh "mkdir" "-p" "src" "test") (sh "sh" "-c" "mv *_test.clj test") (sh "sh" "-c" "mv example.clj src")) (sh "sh" "-c" "gsed -i '/\\(source\\|test\\)-paths/d' */project.clj"))
Version data entries
396 entries across 396 versions & 1 rubygems