Browse Source

Improve run demo scripts

pull/262/head
Decebal Suiu 6 years ago
parent
commit
4de0e754c8
  1. 2
      run-demo.bat
  2. 2
      run-demo.sh

2
run-demo.bat

@ -14,6 +14,8 @@ REM copy artifacts to demo-dist folder
xcopy demo\app\target\pf4j-demo-app-*.zip demo-dist /s /i
xcopy demo\plugins\plugin1\target\*plugin.jar demo-dist\plugins /s
xcopy demo\plugins\plugin2\target\*plugin.jar demo-dist\plugins /s
xcopy demo\plugins\enabled.txt demo-dist\plugins /s
xcopy demo\plugins\disabled.txt demo-dist\plugins /s
cd demo-dist

2
run-demo.sh

@ -14,6 +14,8 @@ mkdir -p demo-dist/plugins
# copy artifacts to demo-dist folder
cp -r demo/app/target/pf4j-demo-*/* demo-dist/
cp demo/plugins/*/target/*plugin.jar demo-dist/plugins/
cp demo/plugins/enabled.txt demo-dist/plugins/
cp demo/plugins/disabled.txt demo-dist/plugins/
# run demo
cd demo-dist

Loading…
Cancel
Save