kdelibs/kactivities/scripts/run-krazy.sh
2014-11-22 18:36:32 +00:00

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