1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-30 08:39:01 +01:00
gojekyll/scripts/compare
2017-09-02 12:09:58 -04:00

9 lines
239 B
Bash
Executable File

#!/bin/bash -eu
ddir=/tmp/$USER/gojekyll-compare
basename=$(basename $1)
./scripts/gojekyll build -s $1 -d $ddir/$basename.go
(cd $1 && bundle exec jekyll build -d $ddir/$basename.jekyll)
ksdiff $ddir/$basename.jekyll $ddir/$basename.go