mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-10-04 15:25:41 -04:00
Initial commit
This commit is contained in:
commit
fdd354f25d
12 files changed
+209
No files matched your search
@@ -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}`);
|
||||
Reference in new issue
Block a user