aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: 2987f6f9ed9d1a53fafd6664ee05c11f26aae680 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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