You've already forked hugo-extended
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:
11
lib/install.js
Normal file
11
lib/install.js
Normal 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');
|
||||
});
|
Reference in New Issue
Block a user