microsoft/typespec
Publicmirrored from https://github.com/microsoft/typespecAvailable
common/scripts/install-run-rushx.js
18lines · modecode
| 1 | "use strict"; |
| 2 | // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. |
| 3 | // See the @microsoft/rush package's LICENSE file for license information. |
| 4 | Object.defineProperty(exports, "__esModule", { value: true }); |
| 5 | // THIS FILE WAS GENERATED BY A TOOL. ANY MANUAL MODIFICATIONS WILL GET OVERWRITTEN WHENEVER RUSH IS UPGRADED. |
| 6 | // |
| 7 | // This script is intended for usage in an automated build environment where the Rush command may not have |
| 8 | // been preinstalled, or may have an unpredictable version. This script will automatically install the version of Rush |
| 9 | // specified in the rush.json configuration file (if not already installed), and then pass a command-line to the |
| 10 | // rushx command. |
| 11 | // |
| 12 | // An example usage would be: |
| 13 | // |
| 14 | // node common/scripts/install-run-rushx.js custom-command |
| 15 | // |
| 16 | // For more information, see: https://rushjs.io/pages/maintainer/setup_new_repo/ |
| 17 | require("./install-run-rush"); |
| 18 | //# sourceMappingURL=install-run-rushx.js.map |