2020-07-17 10:21:38 +00:00
|
|
|
|
|
|
|
source_tasks=./tasks/*/*
|
|
|
|
extractor_tasks=./extractor/*
|
|
|
|
|
|
|
|
src=`pwd`
|
|
|
|
|
|
|
|
for path in `ls -d $source_tasks`
|
|
|
|
do
|
|
|
|
echo $path
|
2020-08-17 06:38:00 +00:00
|
|
|
projectname=${path##*/}
|
|
|
|
projectworkspace=$src/bin/$projectname
|
|
|
|
cd $path && mkdir $projectworkspace -p && go build -o $projectworkspace/$projectname
|
2020-07-17 10:21:38 +00:00
|
|
|
cd $src
|
|
|
|
done
|
|
|
|
|
|
|
|
for path in `ls -d $extractor_tasks`
|
|
|
|
do
|
|
|
|
echo $path
|
2020-08-17 06:38:00 +00:00
|
|
|
projectname=${path##*/}
|
|
|
|
projectworkspace=$src/bin/$projectname
|
|
|
|
cd $path && mkdir $projectworkspace -p && go build -o $projectworkspace/$projectname
|
2020-07-17 10:21:38 +00:00
|
|
|
cd $src
|
2020-09-07 07:13:50 +00:00
|
|
|
done
|