Contributing to the critical load assignment on github
I want to create a pull request on github for a change I made for the qunit task, but I am having trouble getting a local copy of the repo that I can work with.
- The
tasks
master branch does not contain a directory , so I cloned the v0.3-stable branch, but I assume this is the master and not the stable version I want to try and push - how do I achieve this. - When running
grunt test
in my clone from the 0.3 stable branch, there are many node modules of undefined, so I have to install them locally ... although they are all available in my /usr/lib/.../node_modules. How can I grumble to use these global copies? (qunit usually works fine when used as part of a grunt build, for example in the local directory containing the jquery plugin).
+3
source to share
2 answers
-
You can submit a pull request from a non-master branch. You can just use a branch
v0.3-stable
in your fork and make sure you use that branch insteadmaster
in your pull request. -
You may need to install the node modules in the current directory even if you have already installed them globally (they may be different versions). First try running
npm install
in the root of the repository.
0
source to share