forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpants.ini.isolated
64 lines (57 loc) · 1.47 KB
/
pants.ini.isolated
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# An override config example that uses the `isolated` compile strategy for JVM languages.
# ./pants --config-override=pants.ini.isolated <goal> <targets>
[compile.apt]
strategy: isolated
[compile.zinc-java]
enabled: True
runtime-deps: []
scalac: [':scala-compile']
strategy: isolated
capture_log: True
worker_count: 4
zinc: [':zinc']
jvm_options: [
'-Xmx4g', '-XX:MaxPermSize=512m', '-XX:+UseConcMarkSweepGC', '-XX:ParallelGCThreads=4',
# bigger cache size for our big projects (default is just 5)
'-Dzinc.analysis.cache.limit=1000'
]
args: [
'-C-source', '-C1.7',
'-C-target', '-C1.7',
'-java-only', '-C-encoding', '-CUTF-8',
]
warning_args: [
'-C-Xlint:all', '-C-Xlint:-serial', '-C-Xlint:-path',
'-C-deprecation',
]
no_warning_args: [
'-C-Xlint:none',
'-C-nowarn',
]
[compile.scala]
runtime-deps: [':scala-library']
scalac: [':scala-compiler']
strategy: isolated
capture_log: True
worker_count: 4
zinc: [':zinc']
jvm_options: [
'-Xmx4g', '-XX:MaxPermSize=512m', '-XX:+UseConcMarkSweepGC', '-XX:ParallelGCThreads=4',
# bigger cache size for our big projects (default is just 5)
'-Dzinc.analysis.cache.limit=1000',
]
args: [
'-C-source', '-C1.7',
'-C-target', '-C1.7',
'-S-encoding', '-SUTF-8',
'-S-g:vars',
]
warning_args: [
'-S-deprecation',
'-S-unchecked',
# request warnings for http://www.scala-lang.org/api/2.10.4/index.html#scala.language$
'-S-feature',
]
no_warning_args: [
'-S-nowarn',
]