Commit ddace85b authored by Yuanle Song's avatar Yuanle Song

v0.5.2.0 add README and COPYING file in msi.

minor, update "make clean".
update README to add some dev notes.
parent c78de815
......@@ -28,6 +28,7 @@ build:
dotnet build --nologo mbackupw
clean:
dotnet clean --nologo
dotnet clean --nologo mbackupw
cmd /C 'del *.wixobj *.wixpdb *.msi rsync-mingw64-files.wxs'
%.wixobj: %.wxs
$(CANDLE) -dVersion=$(VERSION) $<
......
......@@ -112,6 +112,37 @@ is the window will auto close after mbackup finishes.
You can check mbackup run log in %localappdata%\mbackup\mbackup.log
Developer Notes
----------------
dotnet core 3 SDK and GNU make is required to build this project.
mbackup-for-windows includes the following components
mbackup a dotnet core console project written in F#, it parses command line arguments, parse mbackup config files and runs rsync.
mbackup-tests unit tests for mbackup. in F#.
mbackupw a winforms project written in C#, it is a winforms application just used to call mbackup, but do not show cmd.exe window. This is used in Windows Task Scheduler.
mbackup.wxs wix xml configuration to create msi installer
Makefile used to build the project
mbackup-config/ default mbackup config files
See ./operational file for design notes, dev instructions and some development
history.
mbackup-for-windows version is set in mbackup.fsproj file.
To build the project:
make build
To run tests:
make test
To create a msi release:
make dist
License
--------
......
......@@ -23,7 +23,7 @@
<RuntimeIdentifiers>win10-x64</RuntimeIdentifiers>
<RootNamespace>Mbackup</RootNamespace>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Version>0.5.1.0</Version>
<Version>0.5.2.0</Version>
</PropertyGroup>
<ItemGroup>
......
......@@ -35,6 +35,15 @@
</Directory>
</Directory>
<DirectoryRef Id="MBACKUP_PROGRAM_FILES">
<Component Id="COPYING" Guid="*">
<File Id="COPYING" Name="COPYING.txt" Source="COPYING" KeyPath="yes"/>
</Component>
<Component Id="README.md" Guid="*">
<File Id="README.md" Name="README.txt" Source="README.md" KeyPath="yes"/>
</Component>
</DirectoryRef>
<DirectoryRef Id="MBACKUP_DATA">
<Component Id="default_exclude.txt" Guid="*">
<File Id="default_exclude.txt" Source="mbackup-config\default-exclude.txt" KeyPath="yes"/>
......@@ -131,16 +140,18 @@
ExeCommand="&quot;[SystemFolder]SCHTASKS.EXE&quot; /Delete /TN &quot;mbackup-interval&quot; /F" />
<Feature Id="MainApplication" Title="Main Application" Level="1">
<ComponentGroupRef Id="MbackupHeatGenerated" />
<ComponentGroupRef Id="RsyncHeatGenerated" />
<ComponentRef Id="default_exclude.txt" />
<ComponentRef Id="default_list.txt" />
<ComponentRef Id="local_list.txt" />
<ComponentRef Id="local_exclude.txt" />
<ComponentRef Id="mbackup_config.txt" />
<ComponentRef Id="user_default_list.txt" />
<ComponentRef Id="MbackupDesktopShortcut" />
<ComponentRef Id="MbackupStartMenuShortcuts" />
<ComponentRef Id="README.md" />
<ComponentRef Id="COPYING" />
<ComponentGroupRef Id="MbackupHeatGenerated" />
<ComponentGroupRef Id="RsyncHeatGenerated" />
<ComponentRef Id="default_exclude.txt" />
<ComponentRef Id="default_list.txt" />
<ComponentRef Id="local_list.txt" />
<ComponentRef Id="local_exclude.txt" />
<ComponentRef Id="mbackup_config.txt" />
<ComponentRef Id="user_default_list.txt" />
<ComponentRef Id="MbackupDesktopShortcut" />
<ComponentRef Id="MbackupStartMenuShortcuts" />
</Feature>
</Product>
</Wix>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment