This repository was archived by the owner on Apr 6, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,9 @@ _check_git() {
95
95
ask_clone " workspace not ready: not a git repository"
96
96
fi
97
97
98
- if [[ " $( git ls-files) " == " " && " $( git ls-files --others --exclude-standard) " == " " ]]; then
98
+ if [[ " $( git ls-files --others --exclude-standard) " == " " ]] &&
99
+ [[ " $( git ls-files) " == " " || $( git ls-files | sort | tr $' \n ' -) =~ ^(.gitignore-)? (LICENSE-)? (README-)? $ ]]
100
+ then
99
101
ask_clone " workspace not ready: empty file tree"
100
102
fi
101
103
}
Original file line number Diff line number Diff line change 10
10
"working_dir": "$project_path",
11
11
"env" : {
12
12
"JAVA_HOME": "/usr/lib/jvm/java-8-oracle",
13
- "MAVEN_OPTS": "'-Xms32m' "
13
+ "MAVEN_OPTS": "-XX:MaxNewSize=64m -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSParallelRemarkEnabled -XX:+UseTLAB -XX:ParallelGCThreads=6 "
14
14
}
15
15
}
Original file line number Diff line number Diff line change 9
9
"working_dir": "$project_path",
10
10
"env" : {
11
11
"JAVA_HOME": "/usr/lib/jvm/java-8-oracle",
12
- "MAVEN_OPTS": "' -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xms32m' "
12
+ "MAVEN_OPTS": "-XX:MaxNewSize=64m -XX: +TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSParallelRemarkEnabled -XX:+UseTLAB -XX:ParallelGCThreads=6 "
13
13
}
14
14
}
Original file line number Diff line number Diff line change 10
10
"working_dir": "$project_path",
11
11
"env" : {
12
12
"JAVA_HOME": "/usr/lib/jvm/java-8-oracle",
13
- "MAVEN_OPTS": "' -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xms32m' "
13
+ "MAVEN_OPTS": "-XX:MaxNewSize=64m -XX: +TieredCompilation -XX:TieredStopAtLevel=1 -XX:+CMSParallelRemarkEnabled -XX:+UseTLAB -XX:ParallelGCThreads=6 "
14
14
}
15
15
}
You can’t perform that action at this time.
0 commit comments