mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Build System: Sort Files For Consistent Comparison
Fixes problem with filenames being listed in different order on different systems.
This commit is contained in:
parent
224127f2f0
commit
0adf79eedd
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -93,6 +93,7 @@ build:
|
||||||
$S export LANG=C.UTF-8 ; bundle exec jekyll build 2>&1 | tee $(JEKYLL_LOG)
|
$S export LANG=C.UTF-8 ; bundle exec jekyll build 2>&1 | tee $(JEKYLL_LOG)
|
||||||
$S grep -r -L 'Note: this file is built non-deterministically' _site/ \
|
$S grep -r -L 'Note: this file is built non-deterministically' _site/ \
|
||||||
| egrep -v 'sha256sums.txt' \
|
| egrep -v 'sha256sums.txt' \
|
||||||
|
| sort \
|
||||||
| xargs sha256sum > _site/sha256sums.txt
|
| xargs sha256sum > _site/sha256sums.txt
|
||||||
|
|
||||||
## Jekyll annoyingly returns success even when it emits errors and
|
## Jekyll annoyingly returns success even when it emits errors and
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue