From 9dde2ed6d67ef7bd094612c21afe565d38ef91fd Mon Sep 17 00:00:00 2001 From: Mathias Biilmann Christensen Date: Tue, 21 Feb 2017 16:21:57 -0800 Subject: Add hugo binaries --- bin/hugo.darwin | Bin 0 -> 17009148 bytes bin/hugo.exe | Bin 0 -> 17067008 bytes bin/hugo.linux | Bin 0 -> 17064750 bytes gulpfile.babel.js | 4 ++-- 4 files changed, 2 insertions(+), 2 deletions(-) create mode 100755 bin/hugo.darwin create mode 100755 bin/hugo.exe create mode 100755 bin/hugo.linux diff --git a/bin/hugo.darwin b/bin/hugo.darwin new file mode 100755 index 0000000..a1e4260 Binary files /dev/null and b/bin/hugo.darwin differ diff --git a/bin/hugo.exe b/bin/hugo.exe new file mode 100755 index 0000000..e0b713b Binary files /dev/null and b/bin/hugo.exe differ diff --git a/bin/hugo.linux b/bin/hugo.linux new file mode 100755 index 0000000..5915625 Binary files /dev/null and b/bin/hugo.linux differ 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"])); -- cgit v1.3