Initial commit

This commit is contained in:
Shun Sato authored and satoshun00 committed 2016-05-31 02:44:50 +09:00
commit fdd354f25d
12 files changed
+209

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
const path = require('path');
const BinWrapper = require('bin-wrapper');
const getBinalyName = require('./getBinalyName');
const HUGO_VERSION = '0.15';
const baseUrl = `https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/`;
const binalyNames = getBinalyName(HUGO_VERSION);
module.exports = new BinWrapper()
.src(`${baseUrl}${binalyNames.binaryName}${binalyNames.comp}`)
.dest(path.join(__dirname, '../vendor'))
.use(`${binalyNames.binaryName}${binalyNames.exe}`);