Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always build the same input files to a stable output #299

Merged
merged 2 commits into from
Mar 4, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Always build the same input files to a stable output.
(Leaning just on find for order, two different checkouts will produce different
file list orders for different people building, on some OS:es / file systems.)
  • Loading branch information
johan committed Mar 3, 2016
commit c140685ae974d309deb1455d91fff9e7023060ef
3 changes: 2 additions & 1 deletion build/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ function closure_sources_0() {
}

function compile_0() {
xargs -0 java -jar "$dir"/third_party/closure/compiler.jar $closure_opts "$@"
sort -z | xargs -0 \
java -jar "$dir"/third_party/closure/compiler.jar $closure_opts "$@"
}

function lint_0() {
Expand Down