-
Notifications
You must be signed in to change notification settings - Fork 51
Testing your generator
Donovan Brown edited this page Feb 10, 2017
·
1 revision
Before you submit a pull request make sure you have tested your generator locally. Make sure the build and release work completely. Below is how I will test your changes before they are approved.
If you have already installed the official VSTS generator you first must uninstall it using npm.
npm -g uninstall generator-vsts
Now you can use the npm link command to test your local generator. CD to the root folder of your generator development folder and type the following.
npm link
Now when you run yo vsts you will be using the local generator.
When you are done simply uninstall as before and use yo or npm to install the official version again.