mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
25 lines
397 B
Bash
Executable file
25 lines
397 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ ! -f "scripts/run-krazy.sh" ];
|
|
then
|
|
echo "This script needs to be started from KAMD's root directory"
|
|
exit
|
|
fi
|
|
|
|
DIRS=$1
|
|
|
|
if [ ! -n "$1" ];
|
|
then
|
|
DIRS="lib service utils workspace"
|
|
fi
|
|
|
|
|
|
|
|
echo $DIRS
|
|
CURRENT_DIRECTORY=$PWD
|
|
|
|
for dir in $DIRS;
|
|
do
|
|
echo "Running krazy2 on $dir ..."
|
|
cd $CURRENT_DIRECTORY/src/$dir && krazy2all --exclude license > /tmp/$dir.krazy
|
|
done
|