| 
									
										
										
										
											2018-05-29 15:35:48 -07:00
										 |  |  | # Make TypeScript and Angular compilation fast, by keeping a few copies of the | 
					
						
							|  |  |  | # compiler running as daemons, and cache SourceFile AST's to reduce parse time. | 
					
						
							|  |  |  | build --strategy=TypeScriptCompile=worker | 
					
						
							|  |  |  | build --strategy=AngularTemplateCompile=worker | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | test --test_output=errors | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Workaround https://github.com/bazelbuild/bazel/issues/3645 | 
					
						
							| 
									
										
										
										
											2019-01-06 13:07:24 +01:00
										 |  |  | # Bazel doesn't calculate the memory ceiling correctly when running under Docker. | 
					
						
							|  |  |  | # Limit Bazel to consuming resources that fit in CircleCI "xlarge" class | 
					
						
							|  |  |  | # https://circleci.com/docs/2.0/configuration-reference/#resource_class | 
					
						
							| 
									
										
										
										
											2020-05-29 14:03:08 -07:00
										 |  |  | build --local_ram_resources=14336 | 
					
						
							|  |  |  | build --local_cpu_resources=8 | 
					
						
							| 
									
										
										
										
											2018-08-21 01:37:09 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-25 11:52:37 -07:00
										 |  |  | # Use the Angular Ivy compiler | 
					
						
							|  |  |  | # See https://github.com/angular/angular/blob/master/docs/BAZEL.md#various-flags-used-for-tests | 
					
						
							| 
									
										
										
										
											2019-11-22 12:00:49 -08:00
										 |  |  | build --define=angular_ivy_enabled=True | 
					
						
							| 
									
										
										
										
											2018-12-20 12:12:51 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-26 17:05:15 -07:00
										 |  |  | # Temporary define while angular depends on the legacy rollup_bundle rule. | 
					
						
							|  |  |  | # TODO: remove this setting after https://github.com/angular/angular/pull/33201 lands. | 
					
						
							|  |  |  | build --define=enable_legacy_rollup_rule=1 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-20 12:12:51 -08:00
										 |  |  | # Don't create symlinks | 
					
						
							|  |  |  | build --symlink_prefix=/ |