aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: f5bce79c18c6172db513414573bd8866758a0ebf (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-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
cd ..
zip -9 -r auth-http.zip auth-http  \
        -x "auth-http/.git*"       \
        -x "auth-http/.travis.yml" \
        -x "auth-http/build.sh"

# End of work
exit 0