diff options
| author | Mathias Biilmann Christensen <info@mathias-biilmann.net> | 2017-02-21 16:21:57 -0800 |
|---|---|---|
| committer | Mathias Biilmann Christensen <info@mathias-biilmann.net> | 2017-02-21 16:21:57 -0800 |
| commit | 9dde2ed6d67ef7bd094612c21afe565d38ef91fd (patch) | |
| tree | 7c9d07fe8b58aec485702d4afda54c36ccb744c2 | |
| parent | dc2a8a9245e4954bf5bb65d68b9f41dbd0fa50c6 (diff) | |
Add hugo binaries
| -rwxr-xr-x | bin/hugo.darwin | bin | 0 -> 17009148 bytes | |||
| -rwxr-xr-x | bin/hugo.exe | bin | 0 -> 17067008 bytes | |||
| -rwxr-xr-x | bin/hugo.linux | bin | 0 -> 17064750 bytes | |||
| -rw-r--r-- | gulpfile.babel.js | 4 |
4 files changed, 2 insertions, 2 deletions
diff --git a/bin/hugo.darwin b/bin/hugo.darwin Binary files differnew file mode 100755 index 0000000..a1e4260 --- /dev/null +++ b/bin/hugo.darwin diff --git a/bin/hugo.exe b/bin/hugo.exe Binary files differnew file mode 100755 index 0000000..e0b713b --- /dev/null +++ b/bin/hugo.exe diff --git a/bin/hugo.linux b/bin/hugo.linux Binary files differnew file mode 100755 index 0000000..5915625 --- /dev/null +++ b/bin/hugo.linux diff --git a/gulpfile.babel.js b/gulpfile.babel.js index c166ad6..f297fdb 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -14,8 +14,8 @@ import cssnano from "cssnano"; import uncss from "postcss-uncss"; const browserSync = BrowserSync.create(); -const hugoBin = "hugo"; -const defaultArgs = ["-d", "../dist", "-s", "site", "-v"]; +const hugoBin = `./bin/hugo.${process.platform === "windows" ? "exe" : process.platform}`; +const defaultArgs = ["-d", "../dist", "-s", "site"]; gulp.task("hugo", (cb) => buildSite(cb)); gulp.task("hugo-preview", (cb) => buildSite(cb, ["--buildDrafts", "--buildFuture"])); |
