1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-07-19 09:45:30 -04:00

Initial commit

This commit is contained in:
Shun Sato
2016-05-30 23:28:11 +09:00
committed by satoshun00
commit fdd354f25d
12 changed files with 209 additions and 0 deletions

11
lib/install.js Normal file
View File

@@ -0,0 +1,11 @@
const bin = require('./binary');
const log = require('logalot');
bin.run(['version'], err => {
if (err) {
log.error(err.message);
log.error('Hugo binary installation failed');
return;
}
log.success('Hugo binary is installed successfully');
});