Tomasz Gnyp c7d769510d
[AAE-9186] Filter tasks by assignee (#7784)
* [AAE-9186] Filter tasks by assignee

* add status filter enum

* remove useless case

* remove useless unit test

* improve task assignment filter unit tests

* remove useless imports

* rebase

* fix lint

* run the copydist only for affected

* Build always cli and testing to use local

* Add back test and cli

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
2022-08-26 12:53:06 +01:00

30 lines
931 B
Bash
Executable File

#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
cd ../../
rm -rf dist/libs
echo "====== Run lib ====="
if [ "$CI" = "true" ]; then
echo "Building libs for production with NX_FLAG $NX_CALCULATION_FLAGS"
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell,cli,testing" || exit 1
else
echo "Building libs for development with NX_FLAG $NX_CALCULATION_FLAGS"
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --exclude=demoshell || exit 1
fi
echo "====== run core ====="
./scripts/build/build-core.sh || exit 1
echo "====== Run testing ====="
./scripts/build/build-testing.sh || exit 1
echo "====== Run Cli ====="
./scripts/build/build-cli.sh || exit 1
echo "====== Copy schema ====="
cp lib/core/src/lib/app-config/schema.json dist/libs/core/app.config.schema.json