]> apps.delaporte.us Git - dotfiles.git/blobdiff - bootstrap.ps1
Example Windows friendly Makefil
[dotfiles.git] / bootstrap.ps1
index c21c695862f10bfb970edcb3529c055fe55cd659..985e7ad13c0b3f6d1bf3f04d4867ea39c9d9b501 100644 (file)
@@ -7,13 +7,18 @@ $sourceMeLine = '$profileContents = [string]::join([environment]::newline, (get-
 $sourceMeLine += $sourceMeFile
 $sourceMeLine += '));invoke-expression $profileContents'
 
-Write-Host $sourceMeLine
+# Write-Host $sourceMeLine
+
+$doneFlagFile = "./DONE.md"
+$doBootStrap = -Not (Test-Path -Path $doneFlagFile)
 
 $profileContents = Get-Content $profile 
 if(! $profileContents -contains $sourceMeLine) {
   Add-Content -Path $profile -Value $sourceMeLine
 }
-# Install Chocolatey
+
+# TODO Install Chocolatey
+
 if($false) {
   choco install docker-desktop
 }
@@ -43,4 +48,18 @@ if($false) {
   choco install zap
 }
 
-## TODO: Can I set this via command line: chrome://flags/#enable-force-dark 
\ No newline at end of file
+# Install GNU Make for Windows
+if($false) {
+  choco install make
+}
+## TODO: Can I set this via command line: chrome://flags/#enable-force-dark 
+
+if($doBootStrap) {
+  # DONE!
+  New-Item -ItemType File -Path $doneFlagFile
+}
+
+# ArchiMate for enterprise modeling
+if($false) {
+  choco install archi
+}
\ No newline at end of file