Adding a script to build the final package.
This commit is contained in:
		
							
								
								
									
										16
									
								
								build.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								build.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
# Author:       Valentin Popov
 | 
			
		||||
# Email:        info@valentineus.link
 | 
			
		||||
# Date:         2017-08-14
 | 
			
		||||
# Usage:        /bin/sh build.sh
 | 
			
		||||
# Description:  Build the final package for installation in Moodle.
 | 
			
		||||
 | 
			
		||||
# Updating the Environment
 | 
			
		||||
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
 | 
			
		||||
export PATH="$PATH:/usr/local/scripts"
 | 
			
		||||
 | 
			
		||||
# Build the package
 | 
			
		||||
zip -9 -r auth-http.zip ./  -x ".git*" -x ".travis.yml" -x "build.sh"
 | 
			
		||||
 | 
			
		||||
# End of work
 | 
			
		||||
exit 0
 | 
			
		||||
		Reference in New Issue
	
	Block a user