aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTING.md13
-rw-r--r--build.sh9
2 files changed, 18 insertions, 4 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..1cfd215
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,13 @@
+# Contributing
+
+:heart:
+We love pull requests from everyone.
+By participating in this project, you agree to abide by the
+[code of conduct](https://opensource.guide/how-to-contribute).
+
+Some things that will increase the chance that your pull request is accepted:
+* Write tests.
+* Follow our
+[style guide](https://docs.moodle.org/dev/Coding_style).
+* Write a
+[good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). \ No newline at end of file
diff --git a/build.sh b/build.sh
index cce96e7..b0d6f76 100644
--- a/build.sh
+++ b/build.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Author: Valentin Popov
# Email: info@valentineus.link
-# Date: 2017-12-02
+# Date: 2017-12-15
# Usage: /bin/sh build.sh
# Description: Build the final package for installation in Moodle.
@@ -12,9 +12,10 @@ 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" \
+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