1.8 KiB
Building
See CONTRIBUTING.md for more information on contributing to the HackMyResume or FluentCV projects.
HackMyResume is a standard Node.js command line app implemented in a mix of CoffeeScript and JavaScript. Setting up a build environment is easy:
Prerequisites
Set up a build environment
-
Fork hacksalot/HackMyResume to your GitHub account.
-
Clone your fork locally.
-
From within the top-level HackMyResume folder, run
npm installto install project dependencies. -
Create a new branch, based on the latest HackMyResume
devbranch, to contain your work. -
Run
npm linkin the HackMyResume folder so that thehackmyresumecommand will reference your local installation (you may need tonpm uninstall -g hackmyresumefirst).
Making changes
-
HackMyResume sources live in the
/srcfolder. Always make your edits there, never in the generated/distfolder. -
After making your changes, run
grunt buildto package the HackMyResume sources to the/distfolder. This will transform CoffeeScript files to JavaScript and perform other build steps as necessary. In the future, a watch task or guardfile will be added to automate this step. -
Do local spot testing with
hackmyresumeas normal. -
When you're ready to submit your changes, run
grunt testto run the HMR test suite. Fix any errors that occur. -
Commit and push your changes.
-
Submit a pull request targeting the HackMyResume
devbranch.