Skip to content

Instantly share code, notes, and snippets.

@frenchy64
Created July 19, 2017 13:55
Show Gist options
  • Save frenchy64/46534dd7407dc3a23cec055fd50b3bcf to your computer and use it in GitHub Desktop.
Save frenchy64/46534dd7407dc3a23cec055fd50b3bcf to your computer and use it in GitHub Desktop.
Update clojure spec alpha
update_spec_alpha () {
git grep -l clojure.spec | xargs sed -i '' 's/clojure.spec /clojure.spec.alpha /g'
git grep -l clojure.spec | xargs sed -i '' 's/clojure.spec.test /clojure.spec.test.alpha /g'
git grep -l clojure.spec | xargs sed -i '' 's/clojure.spec.gen /clojure.spec.gen.alpha /g'
}
@ryfow
Copy link

ryfow commented Jul 19, 2017

I just happened to be converting a project today and noticed that the keyword namespace changed to, so :clojure.spec/problems becomes :clojure.spec.alpha/problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment