Skip to content

Instantly share code, notes, and snippets.

@paulp
Created November 14, 2012 15:59
Show Gist options
  • Save paulp/4072949 to your computer and use it in GitHub Desktop.
Save paulp/4072949 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
#
sync () {
local dir=build/quick/classes/$1
local jar=$(pwd)/build/pack/lib/scala-$1.jar
[[ -f $jar ]] && ( cd $dir && /usr/bin/zip --display-counts --filesync -r $jar * )
}
for w in compiler library reflect partest; do
sync $w
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment