blob: b0d6f7647dbc0e2314f048db048bd18fce1d08ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
# Author: Valentin Popov
# Email: info@valentineus.link
# Date: 2017-12-15
# 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 ..
mv "./moodle-auth_token" "./auth_token"
zip -9 -r "auth_token.zip" "auth_token" \
-x "auth_token/.git*" \
-x "auth_token/.travis.yml" \
-x "auth_token/.CONTRIBUTING.md" \
-x "auth_token/build.sh"
# End of work
exit 0
|