X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fscripts%2Fbuild.sh;h=071d73f0af0e8acc00a26c6559ad7e52ea80f983;hb=refs%2Fchanges%2F87%2F5587%2F1;hp=611fcc877899260a67ea0c5fe3feb8d2aa519435;hpb=e29efc315df33d546237e270470916e26df391d6;p=osm%2FUI.git diff --git a/skyquake/plugins/launchpad/scripts/build.sh b/skyquake/plugins/launchpad/scripts/build.sh index 611fcc877..071d73f0a 100755 --- a/skyquake/plugins/launchpad/scripts/build.sh +++ b/skyquake/plugins/launchpad/scripts/build.sh @@ -18,15 +18,5 @@ PLUGIN_NAME=launchpad # 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