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 install
to install project dependencies. -
Create a new branch, based on the latest HackMyResume
dev
branch, to contain your work. -
Run
npm link
in the HackMyResume folder so that thehackmyresume
command will reference your local installation (you may need tonpm uninstall -g hackmyresume
first).
Making changes
-
HackMyResume sources live in the
/src
folder. Always make your edits there, never in the generated/dist
folder. -
After making your changes, run
grunt build
to package the HackMyResume sources to the/dist
folder. 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
hackmyresume
as normal. -
When you're ready to submit your changes, run
grunt test
to run the HMR test suite. Fix any errors that occur. -
Commit and push your changes.
-
Submit a pull request targeting the HackMyResume
dev
branch.