1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-04-26 19:18:27 -04:00
hugo-extended/lib/index.js
Jake Jarvis 2b526bec08
Take over platform/arch detection for more accuracy (#45)
namely for Apple Silicon ARM64 detection on macOS
2021-03-12 10:12:36 -05:00

11 lines
268 B
JavaScript

'use strict';
const path = require('path');
const BinWrapper = require('bin-wrapper');
const src = require('./src');
module.exports = new BinWrapper()
.src(src)
.dest(path.join(__dirname, '../vendor'))
.use(process.platform === 'win32' ? 'hugo.exe' : 'hugo');