-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease_validate.bat
More file actions
44 lines (37 loc) · 909 Bytes
/
release_validate.bat
File metadata and controls
44 lines (37 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@cls
call rake clean clobber
@rem see if the code is finished
call rake -f rake_analysis.rb todo
@echo ===== open todos ok?
@pause
@rem see if the code works as expected
call rake validate_gem test rcov
start coverage/index.html
@echo ===== test and coverage ok?
@pause
@rem see if the code is complex
call rake -f rake_analysis.rb
start complexity/index_cyclo.html
@echo ===== complexity ok?
@pause
@rem validate the documentation
call rake fix_rdoc
start html\index.html
@echo ===== RDOC ok?
@pause
@rem validate the package
@setlocal
@for /F "usebackq" %%a in (`call rake version`) do set VERS=%%a
call rake package
cd pkg\javaclass-%VERS%
call rake test
@echo ===== packaged test ok?
@pause
call rake rdoc
start html\index.html
@echo ===== packaged RDOC ok?
@cd ..\..
@endlocal
@pause
call rake clean clobber
call rake -f rake_analysis.rb clean clobber