Skip to content

Commit

Permalink
Athens 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeus64 committed Dec 6, 2023
1 parent 6b6f2cc commit 0841abf
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 27 deletions.
2 changes: 2 additions & 0 deletions References/BlankApplication/Project1.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ program Project1;
uses
System.StartUpCopy,
FMX.Forms,
FMX.Skia,
Unit1 in 'Unit1.pas' {Form1};

{$R *.res}

begin
GlobalUseSkia := True;
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
Expand Down
4 changes: 3 additions & 1 deletion References/BlankApplication/Project1.dproj.normalize.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@echo off

call "%~dp0\..\..\Tools\DProjNormalizer\DProjNormalizer.exe" -DProj="%~dp0\Project1.dproj" -CreateBackup="false"
del "%~dp0\Project1.dproj.bak" /s

call "%~dp0\..\..\Tools\DProjNormalizer\DProjNormalizer.exe" -DProj="%~dp0\Project1.dproj" -CreateBackup="true"
36 changes: 11 additions & 25 deletions References/BlankApplication/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,10 @@ Check template files
iOSSimARM64\Release\Project1.entitlements
and report any found diffs in your project(s)
* Commit only the previous template files


Check DProjNormalizer
---------------------

* Delete everything in this directory except
clean.bat
README.md
Project1.dproj.normalize.bat
Project1.deployproj.normalize.bat
* Make a new multi platform blank application (Name it Project1)
* Build each plateform in debug (ctrl+f9)
* Build each plateform in release (ctrl+f9)
* Deploy each plateform in debug (ctrl+alt+shif+f9)
* Deploy each plateform in release (ctrl+alt+shif+f9)
* Run clean.bat
* Run Project1.dproj.normalize.bat
* Study the diffs with previous commited version
* Commit


Check DeployProjNormalizer
--------------------------
Check DProjNormalizer/DeployProjNormalizer
------------------------------------------

* Delete everything in this directory except
clean.bat
Expand Down Expand Up @@ -77,13 +58,18 @@ Check DeployProjNormalizer
<DeviceId Condition="&#39;$(Platform)&#39;==&#39;iOSSimARM64&#39;">BFD2217C-51A5-4855-BA03-B430731C177E</DeviceId>
</PropertyGroup>
* close Delphi
* save somewhere Project1.deployproj
* commit Project1.deployproj and Project1.deployproj.bak
* delete Project1.deployproj and Project1.deployproj.bak
* Run Project1.dproj.normalize.bat
* Study the diffs between Project1.dproj and the previous commited version
* Study the diffs between Project1.dproj.bak and the previous commited version
* commit Project1.dproj and Project1.dproj.bak
* Build each plateform in debug (ctrl+f9)
* Build each plateform in release (ctrl+f9)
* Deploy each plateform in debug (ctrl+alt+shif+f9)
* Deploy each plateform in release (ctrl+alt+shif+f9)
* Close Delphi WITHOUT saving the project1
* run Project1.deployproj.normalize.bat and make a diff compare with
the new generated deployproj vs deployproj.bak.
* if you do not detect any difference then it's ok else you need
to update the source code of DeployProjNormalizer
the new generated deployproj vs the commited deployproj
* Run clean.bat
* Commit
4 changes: 3 additions & 1 deletion References/BlankApplication/clean.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ del Project1.dSYM /s
del Project1 /s
del Project1.rsm /s
del Project1.dproj.local /s
del Project1.identcache /s
del Project1.identcache /s
del sk4d.dll /s
del libsk4d.so /s

0 comments on commit 0841abf

Please sign in to comment.