-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_compile.bat
More file actions
24 lines (20 loc) · 1.18 KB
/
Copy path_compile.bat
File metadata and controls
24 lines (20 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
cd /d "D:\Dropbox\My Apps\DotNet\GFD"
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe ^
/target:winexe /platform:x64 /out:PushPull.exe ^
/win32icon:icon.ico ^
/r:System.dll /r:System.Windows.Forms.dll /r:System.Drawing.dll ^
/r:System.Net.dll /r:System.Web.Extensions.dll /r:System.Security.dll ^
/r:Microsoft.VisualBasic.dll ^
Program.cs GitHub.cs ConfigManager.cs SyncEngine.cs AppIcon.cs Icons.cs ^
SettingsDialog.cs ProjectDialog.cs CommentDialog.cs DiffDialog.cs ^
MainForm.Designer.cs MainForm.cs
echo EXIT CODE: %ERRORLEVEL%
.\Tools\SetExeFileInfo.exe -action setfileinfo -exe PushPull.exe -key "Copyright" -value "Ope Ltd"
.\Tools\SetExeFileInfo.exe -action setfileinfo -exe PushPull.exe -key "ProductName" -value "PushPull for GitHub"
.\Tools\SetExeFileInfo.exe -action setfileinfo -exe PushPull.exe -key "LegalCopyright" -value "https://github.com/ope-nz/PushPull"
for /f "tokens=*" %%v in ('powershell -NoProfile -Command "Get-Date -Format 'yyyy.MM.dd.HHmm'"') do set BUILD_VERSION=%%v
.\Tools\SetExeFileInfo.exe -action setversion -exe PushPull.exe -version "%BUILD_VERSION%"
echo Version: %BUILD_VERSION%
copy PushPull.exe C:\Apps\PushPull\PushPull.exe
pause