diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-11-24 02:52:22 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-11-26 23:19:37 +0100 |
commit | 4bf35ba56bb9f06de0cb9ab920b799a39f8eaffc (patch) | |
tree | e46d75e5afba96bc0d4edf4cc8af9b54869415b3 /Makefile | |
parent | 61873e3ded8dfba397b39aebd2322d0939c82caa (diff) | |
download | Shaarli-4bf35ba56bb9f06de0cb9ab920b799a39f8eaffc.tar.gz Shaarli-4bf35ba56bb9f06de0cb9ab920b799a39f8eaffc.tar.zst Shaarli-4bf35ba56bb9f06de0cb9ab920b799a39f8eaffc.zip |
application: refactor version checks, move to ApplicationUtils
Relates to #372
Modifications:
- move checkUpdate() to ApplicationUtils
- reduce file I/O operations during version checks
- apply coding conventions
- add test coverage
Tools:
- create a sandbox directory for tests
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -110,6 +110,7 @@ test: | |||
110 | @echo "-------" | 110 | @echo "-------" |
111 | @echo "PHPUNIT" | 111 | @echo "PHPUNIT" |
112 | @echo "-------" | 112 | @echo "-------" |
113 | @mkdir -p sandbox | ||
113 | @$(BIN)/phpunit tests | 114 | @$(BIN)/phpunit tests |
114 | 115 | ||
115 | ## | 116 | ## |
@@ -119,6 +120,7 @@ test: | |||
119 | ### remove all unversioned files | 120 | ### remove all unversioned files |
120 | clean: | 121 | clean: |
121 | @git clean -df | 122 | @git clean -df |
123 | @rm -rf sandbox | ||
122 | 124 | ||
123 | ### generate Doxygen documentation | 125 | ### generate Doxygen documentation |
124 | doxygen: clean | 126 | doxygen: clean |