Copy fatjars to output folder after atom test build
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -v
|
||||
workdir=`pwd`
|
||||
sources=$workdir/sts4/headless-services
|
||||
output=$workdir/out
|
||||
|
||||
if [ -d "maven-cache" ]; then
|
||||
echo "Prepopulating maven cache"
|
||||
@@ -12,4 +14,12 @@ else
|
||||
fi
|
||||
|
||||
cd ${sources}
|
||||
./mvnw package -DargLine="-Dlsp.lazy.completions.disable=true -Dlsp.completions.indentation.enable=true -Dlsp.yaml.completions.errors.disable=true"
|
||||
./mvnw package -DargLine="-Dlsp.lazy.completions.disable=true -Dlsp.completions.indentation.enable=true -Dlsp.yaml.completions.errors.disable=true"
|
||||
|
||||
timestamp=`date -u +%Y%m%d%H%M`
|
||||
for i in `ls *-language-server/target/*.jar`; do
|
||||
basename=$basename($i)
|
||||
cp $i $output/${basename/SNAPSHOT/$timestamp}
|
||||
done
|
||||
|
||||
find . -name "*-language-server"
|
||||
Reference in New Issue
Block a user