summaryrefslogtreecommitdiff
path: root/PowerTools/WDKBatchBuild/README.md
diff options
context:
space:
mode:
authorJakob Lichtenberg <[email protected]>2025-11-19 07:44:41 -0800
committerJakob Lichtenberg <[email protected]>2025-11-19 07:44:41 -0800
commit3a73aba127fb74cb37139ae8089d26096755f2da (patch)
tree63158dd9f1863845a52d25e5d4bc19b8e2fbb029 /PowerTools/WDKBatchBuild/README.md
parent37aa3c5995cdd83efdd8fdca37559ca4a1d1871b (diff)
W'DKBatchBuild
Diffstat (limited to 'PowerTools/WDKBatchBuild/README.md')
-rw-r--r--PowerTools/WDKBatchBuild/README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/PowerTools/WDKBatchBuild/README.md b/PowerTools/WDKBatchBuild/README.md
new file mode 100644
index 00000000..278ad2ef
--- /dev/null
+++ b/PowerTools/WDKBatchBuild/README.md
@@ -0,0 +1,32 @@
+WDKBatchBuild
+
+JakobL@2025/11/19
+
+Build this repo in "batch mode" using multiple EWDKs.
+
+Once batch build is complete you will find complete copies of built repo with generated artifacts ready for your favorite diff algorithm.
+
+Files:
+* WDKBatchBuild.ps1 <-- Main script. Change bottom part to refine functionality.
+* WDKBatchBuild_Internal.ps1. Auxillary function.
+
+Tricks:
+* Nifty lazy ISO file copy. Only copies if necessary.
+* Nifty lazy ISO extraction. Caches EWDKs. Only extracts what is necessary.
+* Nifty trick to invoke build environment and build:
+ * Does following N times:
+ * Starts out in main PowerShell script
+ * Calls cmd script EWDK\BuildEnv\SetupBuildEnv.cmd to setup build environment
+ * Continuation into auxillary PowerShell script
+
+Warning:
+* Will run "clean -xdf" in root of repo thereby wiping out anything not checked in.
+* Make sure to check changes to this script in before running.
+
+Assumptions:
+* Requires new pwsh (rather than old powershell).
+* Hard coded in script WDKBatchBuild.ps1:
+ * Repo in D:\wds\wds1
+ * Input ISOs in D:\wds\ISOs
+ * Temporary EWDKs extracted to D:\wds\EWDKs
+ * Output runs in D:\wds\Runs