intimate/build.sh

23 lines
531 B
Bash
Raw Permalink Normal View History

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