diff options
author | Valentin Popov <info@valentineus.link> | 2017-08-14 14:12:38 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-08-14 14:12:38 +0300 |
commit | f02aac323cd94f111976fc19338ba19b752890f7 (patch) | |
tree | 9cfa9f799fa047e49f1aa2b17d12ef3f5a359daf | |
parent | b8e182e47610771cd64618c6781eb7d08b269d83 (diff) | |
download | auth_http-f02aac323cd94f111976fc19338ba19b752890f7.tar.xz auth_http-f02aac323cd94f111976fc19338ba19b752890f7.zip |
Adding a script to build the final package.
-rw-r--r-- | build.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..e8d3595 --- /dev/null +++ b/build.sh @@ -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
\ No newline at end of file |