File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 13
13
# **************************************************************************** #
14
14
15
15
PROG = "genmake"
16
- VERSION = "1.1.5 "
16
+ VERSION = "1.1.6 "
17
17
DESC = "Generate Makefile for C Project of 42 School"
18
18
19
19
BUILDER = dict ()
Original file line number Diff line number Diff line change 6
6
# By: atrouill <[email protected] > +#+ +:+ +#+ #
7
7
# +#+#+#+#+#+ +#+ #
8
8
# Created: 2021/09/08 10:01:25 by atrouill #+# #+# #
9
- # Updated: 2022/01/24 11:31:17 by atrouill ### ########.fr #
9
+ # Updated: 2022/05/03 17:27:38 by atrouill ### ########.fr #
10
10
# #
11
11
# **************************************************************************** #
12
12
@@ -50,7 +50,7 @@ def check_update():
50
50
if origin == None or gen == None :
51
51
return (False )
52
52
53
- if (origin ["version" ] != config .VERSION ):
53
+ if (origin ["version" ] != ( "v" + config .VERSION ) ):
54
54
print (Fore .YELLOW , end = '' )
55
55
print ("A new version is available." )
56
56
print ("Please update with : 'python3 -m pip install --upgrade genmake'" )
@@ -60,7 +60,7 @@ def check_update():
60
60
print ("\t " + line )
61
61
print (Style .RESET_ALL )
62
62
63
- elif (config .VERSION != gen ) and (os .path .isfile ('./Makefile' )):
63
+ elif (( "v" + config .VERSION ) != gen ) and (os .path .isfile ('./Makefile' )):
64
64
print (Fore .YELLOW , end = '' )
65
65
print ("Your Makefile was generated with an old version of genmake" )
66
66
print ("It is recommended to run 'genmake --remake' to correct possible bugs" )
You can’t perform that action at this time.
0 commit comments