mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 01:56:21 +00:00
Update with recent project changes.
This commit is contained in:
parent
90d48b3f17
commit
2aeec2334f
@ -6,7 +6,7 @@ Command-line resume generation logic for Scrappy.
|
||||
*/
|
||||
|
||||
var ARGS = require( 'minimist' )
|
||||
, HMR = require( './hmr');
|
||||
, HMR = require( './scrappy');
|
||||
|
||||
try {
|
||||
|
||||
|
@ -73,10 +73,10 @@ module.exports = function () {
|
||||
var fOut = path.join( process.cwd(),
|
||||
f.substring( 0, f.lastIndexOf('.') + 1 ) + fObj.ext );
|
||||
console.log( 'Generating ' + fName.toUpperCase() + ' resume: ' + fOut );
|
||||
var themeFile = path.join( __dirname, '/../themes/', _opts.theme,
|
||||
var themeFile = path.join( __dirname, '../../blueprint/', _opts.theme,
|
||||
fName + '.' + (fObj.fmt || fObj.ext));
|
||||
var cssData = (fName != 'html' && fName != 'pdf') ? null :
|
||||
FS.readFileSync( path.join( __dirname, '/../themes/', _opts.theme, 'html.css' ), 'utf8' );
|
||||
FS.readFileSync( path.join( __dirname, '../../blueprint/', _opts.theme, 'html.css' ), 'utf8' );
|
||||
var mk = FS.readFileSync( themeFile, 'utf8' );
|
||||
|
||||
// Compile and invoke the template
|
||||
|
Loading…
Reference in New Issue
Block a user