1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-06-30 23:40:05 +01:00

Update with recent project changes.

This commit is contained in:
James Devlin 2015-09-01 20:13:21 -04:00
parent 90d48b3f17
commit 2aeec2334f
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ Command-line resume generation logic for Scrappy.
*/
var ARGS = require( 'minimist' )
, HMR = require( './hmr');
, HMR = require( './scrappy');
try {

View File

@ -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