Before you can develop for the cics-deploy plugin, follow these steps to set up your environment.
You'll need to install the @latest branch of Zowe CLI to develop for the cics-deploy plugin.
npm config set @zowe:registry https://api.bintray.com/npm/ca/brightside
npm install -g @zowe/cli@latest
To create your development space, you will clone and build zowe-cli-cics-deploy-plugin from source.
Before you clone the repository, create a local development folder named cics-deploy
. You will clone and build all projects in this folder.
Clone the repository into your development folder to match the following structure:
cics-deploy
\zowe-cli-cics-deploy-plugin
-
cd
to yourcics-deploy
folder -
git clone https://github.com/IBM/zowe-cli-cics-deploy-plugin
-
cd zowe-cli-cics-deploy-plugin
-
npm install
-
npm run build
The first time that you build, the script will interactively ask you for the location of your Zowe CLI directory. Subsequent builds will not ask again.
The build script creates symbolic links. On Windows, you might need to have Administrator privileges to create those symbolic links. If you change Node versions, you may need to remove the
node_modules
directory and rerunnpm install
to ensure native dependencies are rebuilt.
cd
to yourzowe-cli-cics-deploy-plugin
foldernpm run test
After you complete your setup, follow the Installing the cics-deploy plug-in to Zowe CLI tutorial to install this cics-deploy plug-in to Zowe CLI.