From f643cefa4498ec6ecd76479db6c7de22868e4309 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 17 Oct 2017 09:27:45 +0400 Subject: Initial commit --- build.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 build.sh (limited to 'build.sh') diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..2987f6f --- /dev/null +++ b/build.sh @@ -0,0 +1,20 @@ +#!/bin/sh +# Author: Valentin Popov +# Email: info@valentineus.link +# Date: 2017-10-17 +# 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 +cd .. +zip -9 -r "auth-link.zip" "auth-link" \ + -x "auth-link/.git*" \ + -x "auth-link/.travis.yml" \ + -x "auth-link/build.sh" + +# End of work +exit 0 \ No newline at end of file -- cgit v1.2.3