File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ install:
23
23
- cmd : git clone https://github.com/huskyproject/huskylib C:\projects\huskylib
24
24
- cmd : git clone https://github.com/huskyproject/smapi C:\projects\smapi
25
25
- cmd : git clone https://github.com/huskyproject/fidoconf C:\projects\fidoconf
26
+ before_build :
27
+ - ps :
28
+ cd C:\projects\huskylib; $huskylib_mdate=git log -1 --date=short --format=format:"%cd" huskylib/*.h src/*.c; echo "char cvs_date[]=""$huskylib_mdate"";" > cvsdate.h;
29
+ cd C:\projects\smapi; $smapi_mdate=git log -1 --date=short --format=format:"%cd" smapi/*.h src/*.c;if($huskylib_mdate -gt $smapi_mdate) {$smapi_mdate=$huskylib_mdate}; echo "char cvs_date[]=""$smapi_mdate"";" > cvsdate.h;
30
+ cd C:\projects\fidoconf; $fidoconf_mdate=git log -1 --date=short --format=format:"%cd" fidoconf/*.h src/*.c; if($smapi_mdate -gt $fidoconf_mdate) {$fidoconf_mdate=$smapi_mdate}; echo "char cvs_date[]=""$fidoconf_mdate"";" > cvsdate.h;
31
+ cd C:\projects\sqpack; $sqpack_mdate=git log -1 --date=short --format=format:"%cd" *.h *.c; if($fidoconf_mdate -gt $sqpack_mdate) {$sqpack_mdate=$fidoconf_mdate}; echo "char cvs_date[]=""$sqpack_mdate"";" > cvsdate.h
26
32
build_script :
27
33
- cmd :
28
34
cd C:\projects\huskylib && mkdir build && cd build && cmake --version && cmake .. -G "%GENERATOR%" %CF% && cmake --build . -- /P:Configuration=Release &&
You can’t perform that action at this time.
0 commit comments