mirror of
				https://github.com/NativeScript/NativeScript.git
				synced 2025-11-04 12:58:38 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			368 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			368 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
##
 | 
						|
# Prepares the tns-platform-declarations and @nativescript/core packages inside dist folder
 | 
						|
##
 | 
						|
 | 
						|
set -x
 | 
						|
set -e
 | 
						|
 | 
						|
DIST=dist;
 | 
						|
ROOT_DIR=$(cd `dirname $0` && pwd)/..;
 | 
						|
cd "$ROOT_DIR"
 | 
						|
 | 
						|
(
 | 
						|
    cd "$DIST/tns-platform-declarations"
 | 
						|
    TGZ="$(npm pack)"
 | 
						|
    mv "$TGZ" "../$TGZ"
 | 
						|
)
 | 
						|
 | 
						|
(
 | 
						|
    cd "$DIST/nativescript-core"
 | 
						|
    TGZ="$(npm pack)"
 | 
						|
    mv "$TGZ" "../$TGZ"
 | 
						|
)
 |