bismuth/bin/start.sh
Mikhail Zolotukhin 847942e780 Use npm scripts and wrap makefile around it
Advantages:
- Building description is more readable (top to bottom)
- Build step is extracted from package step
- Abstraction layers are not mixed within the tools ("Scripts describe
  how to build, Npm calls scripts, Make calls Npm" instead of "Make
  describes build, calls Npm")
- No duplication of package description in Makefile and package.json
2021-08-26 22:35:46 +03:00

11 lines
266 B
Bash

#!/usr/bin/env sh
set -e
# Load script to KWin
bin/load-script.sh "$npm_package_config_build_dir/contents/ui/main.qml" \
"$npm_package_name-test"
# Remove unnecessary files
find "$npm_package_config_build_dir" \
'(' -name "*.qmlc" -o -name "*.jsc" ')' -delete