Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit d300a01

Browse files
committed
check for BOM before the build
1 parent 68a8f2f commit d300a01

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ install:
1010
- pip install --user awscli
1111
- ~/.local/bin/aws configure set preview.cloudfront true
1212

13+
before_script: tidy.sh
14+
1315
# Build and deploy the site to the S3 bucket on push to master, unless PR
1416
script: bundle exec jekyll build
1517
branches:

tidy.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
grep -rl $'\xEF\xBB\xBF' .
2+
3+
if [ $? -eq 0 ]; then exit 1; else exit 0; fi

0 commit comments

Comments
 (0)