You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			31 lines
		
	
	
		
			504 B
		
	
	
	
		
			Bash
		
	
			
		
		
	
	
			31 lines
		
	
	
		
			504 B
		
	
	
	
		
			Bash
		
	
| #!/bin/sh
 | |
| 
 | |
| OUT_DIR=$1
 | |
| DEBUG=$2
 | |
| 
 | |
| # Change into script's own dir
 | |
| cd $(dirname $0)
 | |
| 
 | |
| DT_SRC=$(dirname $(dirname $(pwd)))
 | |
| DT_BUILT="${DT_SRC}/built/DataTables"
 | |
| . $DT_SRC/build/include.sh
 | |
| 
 | |
| # Copy CSS
 | |
| scss_compile css/dataTables.responsive.scss
 | |
| rsync -r css $OUT_DIR
 | |
| 
 | |
| # Copy images
 | |
| #rsync -r images $OUT_DIR
 | |
| 
 | |
| # Copy JS
 | |
| rsync -r js $OUT_DIR
 | |
| js_compress $OUT_DIR/js/dataTables.responsive.js
 | |
| 
 | |
| # Copy and build examples
 | |
| rsync -r examples $OUT_DIR
 | |
| examples_process $OUT_DIR/examples
 | |
| 
 | |
| # Readme
 | |
| cp Readme.md $OUT_DIR
 | |
| 
 |