]> apps.delaporte.us Git - dotfiles.git/blobdiff - bootstrap.ps1
Set a flag to indicate when finished.
[dotfiles.git] / bootstrap.ps1
index c21c695862f10bfb970edcb3529c055fe55cd659..0ff0284e73ccd7f671b51099fa22c74845d27f7b 100644 (file)
@@ -7,7 +7,10 @@ $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) {
@@ -43,4 +46,13 @@ 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
+}
\ No newline at end of file