Clone the repository
git clone https://github.com/Azure/autorest
It is not necessary to clone recursively (--recurse
) - that is only needed for advanced scenarios.
Install Node.js (10.16.x LTS HIGHLY RECOMENDED)
for more help, check out Installing Node.JS on different platforms
Install Rush to manage the build process:
npm install -g "@microsoft/rush"
The first time (or after pulling from upstream) use rush
to install dependencies
rush update
Use rush
to build packages
rush rebuild
rush clean
rush test
-- runs the unit tests.
rush sync-versions
-- will make sure that dependent packages versions are consistent across sub-projects
rush watch
-- will watch for changes on disk and recompile.