Browse Source

update modules concept

master
belliash 7 years ago
parent
commit
f378a66ac5
1 changed files with 21 additions and 1 deletions
  1. 21
    1
      modules/sample.ezmod

+ 21
- 1
modules/sample.ezmod View File

@@ -1,4 +1,24 @@
1 1
 EZMOD_DESCRIPTION="Sample module for learning and testing purposes"
2 2
 EZMOD_COMPATIBILITY="ezbuild ezsync"
3 3
 EZMOD_AUTHOR="Rafal Kupiec"
4
-EZMOD_VERSION="0.1"
4
+EZMOD_VERSION="0.2"
5
+
6
+ezsync_presync() {
7
+	printWarn "This function executes just before refreshing repositories!"
8
+	return 0
9
+}
10
+
11
+ezsync_postsync() {
12
+	printWarn "This function executes just after refreshing repositories and just before merging data!"
13
+	return 0
14
+}
15
+
16
+ezsync_precommit() {
17
+	printWarn "This function executes just after merging data and just before committing changes!"
18
+	return 0
19
+}
20
+
21
+ezsync_postcommit() {
22
+	printWarn "This function executes just after committing changes to remote repositories!"
23
+	return 0
24
+}

Loading…
Cancel
Save