-
Notifications
You must be signed in to change notification settings - Fork 0
/
DevNotes.txt
75 lines (56 loc) · 2.08 KB
/
DevNotes.txt
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Development Structure
---------------------
The source folder structure is required by the solution & projects to be like
this:-
+-FarmMonitor
| +-Test
+-Lib
| +-Core
| +-NCL
| +-WCL
| +-WMI
| +-XML
+-Scripts
The easiest way to clone the entire solution is to use the CloneProject script:-
> curl -fsSL https://raw.githubusercontent.com/chrisoldwood/FarmMonitor/master/CloneProject.bat -o CloneProject.bat && .\CloneProject.bat
Alternatively you can clone the various repos manually:-
> mkdir Win32
> git clone https://github.com/chrisoldwood/FarmMonitor.git Win32\FarmMonitor
> mkdir Win32\Lib
> git clone https://github.com/chrisoldwood/Core.git Win32\Lib\Core
> git clone https://github.com/chrisoldwood/NCL.git Win32\Lib\NCL
> git clone https://github.com/chrisoldwood/WCL.git Win32\Lib\WCL
> git clone https://github.com/chrisoldwood/WMI.git Win32\Lib\WMI
> git clone https://github.com/chrisoldwood/XML.git Win32\Lib\XML
<optional>
> git clone https://github.com/chrisoldwood/Scripts.git Win32\Scripts
Command Line Builds
-------------------
Included in the scripts folder is one for building via the command line:-
> Win32\Scripts\SetVars vc90
> Win32\Scripts\Build debug Win32\FarmMonitor\FarmMonitor.sln
There is also one for upgrading to a later version of Visual C++:-
> Win32\Scripts\SetVars vc140
> Win32\Scripts\Upgrade Win32\FarmMonitor\FarmMonitor.sln
Tests
-----
A separate project exists in the solution with unit tests:-
> Win32\FarmMonitor\Test\Debug\%VC_PLATFORM%\Test.exe -q
Source package
--------------
PS> pushd $env:TEMP
PS> rm -r -fo CloneProject.bat,Win32
PS> curl -fsSL https://raw.githubusercontent.com/chrisoldwood/FarmMonitor/master/CloneProject.bat -o CloneProject.bat && .\CloneProject.bat
PS> pushd Win32
PS> ls -r -attr Hidden .git | rm -r -fo
PS> 7z a -tzip farm-monitor.zip FarmMonitor Lib
Release Checklist
-----------------
- Update version number (App.rcv, FarmMonitor.wxs).
- Update documentation (ReadMe.txt, RelNotes.txt, FarmMonitor.html).
- Build and run tests.
- Build packages (MSI, zip).
- Tag repository.
- Upload packages.
Chris Oldwood
12th November 2023