mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-11-04 06:47:27 +00:00 
			
		
		
		
	Update with recent project changes.
This commit is contained in:
		@@ -6,7 +6,7 @@ Command-line resume generation logic for Scrappy.
 | 
				
			|||||||
*/
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var ARGS = require( 'minimist' )
 | 
					var ARGS = require( 'minimist' )
 | 
				
			||||||
  , HMR  = require( './hmr');
 | 
					  , HMR  = require( './scrappy');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
try {
 | 
					try {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -73,10 +73,10 @@ module.exports = function () {
 | 
				
			|||||||
      var fOut = path.join( process.cwd(),
 | 
					      var fOut = path.join( process.cwd(),
 | 
				
			||||||
        f.substring( 0, f.lastIndexOf('.') + 1 ) + fObj.ext );
 | 
					        f.substring( 0, f.lastIndexOf('.') + 1 ) + fObj.ext );
 | 
				
			||||||
      console.log( 'Generating ' + fName.toUpperCase() + ' resume: ' + fOut );
 | 
					      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));
 | 
					        fName + '.' + (fObj.fmt || fObj.ext));
 | 
				
			||||||
      var cssData = (fName != 'html' && fName != 'pdf') ? null :
 | 
					      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' );
 | 
					      var mk = FS.readFileSync( themeFile, 'utf8' );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      // Compile and invoke the template
 | 
					      // Compile and invoke the template
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user