Skip to content

Commit ccd586f

Browse files
gkossakowskiadriaanm
authored andcommitted
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.
1 parent 0e70049 commit ccd586f

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

compare-build-dirs-ignore-patterns

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.DS_Store
2+
*.complete
3+
locker
4+
deps
5+
scala-continuations-*.jar
6+
scala-parser-combinators*.jar
7+
scala-swing*.jar
8+
scala-xml*.jar

compare-build-dirs.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Compares build directories generated by Ant and sbt build definitions
2+
# This let's us to see how far are we from achieving perfect parity
3+
# between the builds
4+
5+
diff -X compare-build-dirs-ignore-patterns -qr build/ build-sbt/

0 commit comments

Comments
 (0)