X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=skyquake%2Fplugins%2Fcomposer%2Fscripts%2Fbuild.sh;h=258282d9f17ddce87ec44f2324cc3f8738edcabd;hb=28412d0042632687d765d239cbb3ff0523a131b9;hp=eb17e4e359a6b7bed8620b8cb0f1d1705b07dc12;hpb=e29efc315df33d546237e270470916e26df391d6;p=osm%2FUI.git diff --git a/skyquake/plugins/composer/scripts/build.sh b/skyquake/plugins/composer/scripts/build.sh index eb17e4e35..258282d9f 100755 --- a/skyquake/plugins/composer/scripts/build.sh +++ b/skyquake/plugins/composer/scripts/build.sh @@ -18,15 +18,5 @@ PLUGIN_NAME=composer # change to the directory of this script -THIS_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) -cd $THIS_DIR -cd .. - -echo 'Building plugin '$PLUGIN_NAME -echo 'Fetching third-party node_modules for '$PLUGIN_NAME -npm install -echo 'Fetching third-party node_modules for '$PLUGIN_NAME'...done' -echo 'Packaging '$PLUGIN_NAME' using webpack' -ui_plugin_cmake_build=true ./node_modules/.bin/webpack --progress --config webpack.production.config.js -echo 'Packaging '$PLUGIN_NAME' using webpack... done' -echo 'Building plugin '$PLUGIN_NAME'... done' +PLUGIN_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) +source ../../../../skyquake/skyquake-build/scripts/build-plugin.sh