| 
									
										
										
										
											2019-11-15 02:56:55 +02:00
										 |  |  | #!/usr/bin/env node
 | 
					
						
							| 
									
										
										
										
											2020-03-02 18:35:30 +01:00
										 |  |  | /** | 
					
						
							|  |  |  |  * @license | 
					
						
							|  |  |  |  * Copyright Google Inc. All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Use of this source code is governed by an MIT-style license that can be | 
					
						
							|  |  |  |  * found in the LICENSE file at https://angular.io/license
 | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2020-02-29 22:25:49 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-15 02:56:55 +02:00
										 |  |  | 'use strict'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-29 21:05:23 +02:00
										 |  |  | const {buildZoneJsPackage} = require('./zone-js-builder'); | 
					
						
							| 
									
										
										
										
											2019-11-15 02:56:55 +02:00
										 |  |  | const {buildTargetPackages} = require('./package-builder'); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-29 22:25:49 +02:00
										 |  |  | // Build the ivy packages into `dist/packages-dist-ivy-aot/`.
 | 
					
						
							| 
									
										
										
										
											2019-11-22 12:11:48 -08:00
										 |  |  | buildTargetPackages('dist/packages-dist-ivy-aot', true, 'Ivy AOT'); | 
					
						
							| 
									
										
										
										
											2020-02-29 21:05:23 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | // Build the `zone.js` npm package into `dist/zone.js-dist-ivy-aot/`, because it might be needed by
 | 
					
						
							|  |  |  | // other scripts/tests.
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | // NOTE:
 | 
					
						
							|  |  |  | // The `-ivy-aot` suffix is only used to differentiate from the packages built by the
 | 
					
						
							|  |  |  | // `build-packages-dist.js` script, so that there is no conflict when persisting them to the
 | 
					
						
							|  |  |  | // workspace on CI.
 | 
					
						
							|  |  |  | buildZoneJsPackage('dist/zone.js-dist-ivy-aot'); |