diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2015-02-21 21:13:07 +0100 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-04-17 11:57:31 -0700 |
commit | ccd586f68af14ea693c873d38ad8d5210caa48e0 (patch) | |
tree | 8b706ba6040f155f9504c120ec669a527d368161 /compare-build-dirs.sh | |
parent | 0e70049f9bcda462fcc30971227bf0c53b90cb9f (diff) | |
download | scala-ccd586f68af14ea693c873d38ad8d5210caa48e0.tar.gz scala-ccd586f68af14ea693c873d38ad8d5210caa48e0.tar.bz2 scala-ccd586f68af14ea693c873d38ad8d5210caa48e0.zip |
Script that diffs `build/` and `build-sbt/`
To ensure the sbt build matches the ant build, diff their output.
The scripts just delegates to `diff` command that compares directories
recursively. We've added some handy ignore patterns (e.g. for .complete
files).
Ignore locker and deps dirs when comparing build and build-sbt,
these directories are needed by Ant build only.
Ignore irrelevant jars in build/pack/lib generated by the Ant build.
Diffstat (limited to 'compare-build-dirs.sh')
-rwxr-xr-x | compare-build-dirs.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compare-build-dirs.sh b/compare-build-dirs.sh new file mode 100755 index 0000000000..f6806dd422 --- /dev/null +++ b/compare-build-dirs.sh @@ -0,0 +1,5 @@ +# Compares build directories generated by Ant and sbt build definitions +# This let's us to see how far are we from achieving perfect parity +# between the builds + +diff -X compare-build-dirs-ignore-patterns -qr build/ build-sbt/ |