Skip to content

Instantly share code, notes, and snippets.

@noisesmith
Last active December 29, 2015 16:19
Show Gist options
  • Save noisesmith/7697007 to your computer and use it in GitHub Desktop.
Save noisesmith/7697007 to your computer and use it in GitHub Desktop.
expand all clojure project deps for search / examination
#!/bin/bash
rm -rf alldeps/
for i in $(lein classpath | tr : '\n' | grep "\.jar$")
do DIR=alldeps/$(basename $i .jar)
mkdir -p $DIR
pushd $DIR
unzip $i
popd
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment