mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
New script to build components prior to running start.sh
- Add to start-linked.sh
This commit is contained in:
13
scripts/npm-build-all.sh
Executable file
13
scripts/npm-build-all.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
components_dir="$DIR/../ng2-components"
|
||||
|
||||
for comp_dir in $( ls "$components_dir" ); do
|
||||
echo $comp_dir
|
||||
test -f "$components_dir/$comp_dir/package.json" && \
|
||||
cd "$components_dir/$comp_dir" && \
|
||||
npm run build
|
||||
done
|
||||
|
||||
cd ${DIR}
|
Reference in New Issue
Block a user