[ADF-4733] Create an adf-cli dispatcher to run the docker-publish (#4914)

* Create an adf-cli dispatcher to run the docker-publish

* not needed

* fix typo comma

* Create the adf-cli dist folder that contains
-bin
-script
-package.json

Build the dist folder during the ADF CI/CI pipeline
This commit is contained in:
Maurizio Vitale
2019-07-10 15:06:35 +01:00
committed by Eugenio Romano
parent fadcc19eba
commit a6e18e6c1b
6 changed files with 5573 additions and 4 deletions

View File

@@ -2,8 +2,11 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR/../..
cd $DIR/../../lib/cli/
echo "====== Cli ======"
echo "====== Build ======"
cp -R ./lib/cli/ lib/dist/cli/
npm run dist
cd $DIR/../../
cp -R ./lib/cli/dist lib/dist/cli/