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

Version Path
trackler-2.2.1.180 tracks/clojure/bin/restructure.clj
trackler-2.2.1.179 tracks/clojure/bin/restructure.clj
trackler-2.2.1.178 tracks/clojure/bin/restructure.clj
trackler-2.2.1.177 tracks/clojure/bin/restructure.clj
trackler-2.2.1.176 tracks/clojure/bin/restructure.clj
trackler-2.2.1.175 tracks/clojure/bin/restructure.clj
trackler-2.2.1.174 tracks/clojure/bin/restructure.clj
trackler-2.2.1.173 tracks/clojure/bin/restructure.clj
trackler-2.2.1.172 tracks/clojure/bin/restructure.clj
trackler-2.2.1.171 tracks/clojure/bin/restructure.clj
trackler-2.2.1.170 tracks/clojure/bin/restructure.clj
trackler-2.2.1.169 tracks/clojure/bin/restructure.clj
trackler-2.2.1.167 tracks/clojure/bin/restructure.clj
trackler-2.2.1.166 tracks/clojure/bin/restructure.clj
trackler-2.2.1.165 tracks/clojure/bin/restructure.clj
trackler-2.2.1.164 tracks/clojure/bin/restructure.clj
trackler-2.2.1.163 tracks/clojure/bin/restructure.clj
trackler-2.2.1.162 tracks/clojure/bin/restructure.clj
trackler-2.2.1.161 tracks/clojure/bin/restructure.clj
trackler-2.2.1.160 tracks/clojure/bin/restructure.clj