X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Faccounts%2Fscripts%2Fbuild.sh;h=e1b8cd8c04a9d1481df59b30bad978548aea4421;hp=f8dcff1c3a9f0350b003dcfe621956c33e8df59a;hb=refs%2Fchanges%2F79%2F5479%2F2;hpb=f2dc2462571800e62cba969964de621dca09299c diff --git a/skyquake/plugins/accounts/scripts/build.sh b/skyquake/plugins/accounts/scripts/build.sh index f8dcff1c3..e1b8cd8c0 100755 --- a/skyquake/plugins/accounts/scripts/build.sh +++ b/skyquake/plugins/accounts/scripts/build.sh @@ -18,15 +18,5 @@ PLUGIN_NAME=accounts # 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 --optimize-minimize --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