]> apps.delaporte.us Git - dotfiles.git/blobdiff - bootstrap.ps1
Example Windows friendly Makefil
[dotfiles.git] / bootstrap.ps1
index 3dd82b2ed8bf5ee7d7ff84ffd21a5e4410f75e1e..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
 }
@@ -47,4 +52,14 @@ if($false) {
 if($false) {
   choco install make
 }
-## TODO: Can I set this via command line: chrome://flags/#enable-force-dark 
\ No newline at end of file
+## 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