mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-11-05 00:54:24 +03:00
847942e780
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
11 lines
266 B
Bash
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
|