mirror of
				https://github.com/Ed94/HandmadeHero.git
				synced 2025-11-03 15:26:12 -08:00 
			
		
		
		
	Doc & script updates
This commit is contained in:
		@@ -2,3 +2,10 @@
 | 
			
		||||
 | 
			
		||||
Any code I do for this series will be here.
 | 
			
		||||
 | 
			
		||||
Building requires msvc or llvm's clang + lld, and powershell 7
 | 
			
		||||
 | 
			
		||||
## Scripts
 | 
			
		||||
 | 
			
		||||
* `build.ps1` - Builds the project use `.\scripts\build msvc` or `.\scripts\build clang`, add `release` to build in release mode
 | 
			
		||||
* `clean.ps1` - Cleans the project
 | 
			
		||||
* `update.ps1` - Updates the project dependencies to their latest from their respective repos. (Not done automatically on build)
 | 
			
		||||
 
 | 
			
		||||
@@ -9,9 +9,6 @@ Push-Location $path_root
 | 
			
		||||
#region Arguments
 | 
			
		||||
       $vendor       = $null
 | 
			
		||||
       $release      = $null
 | 
			
		||||
[bool] $bootstrap    = $false
 | 
			
		||||
[bool] $singleheader = $false
 | 
			
		||||
[bool] $test         = $false
 | 
			
		||||
 | 
			
		||||
[array] $vendors = @( "clang", "msvc" )
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -5,9 +5,9 @@ $path_project      = join-path $path_root "project"
 | 
			
		||||
$path_build 	   = join-path $path_project "build"
 | 
			
		||||
$path_dependencies = join-path $path_project "dependencies"
 | 
			
		||||
 | 
			
		||||
if ( Test-Path $path_dependencies ) {
 | 
			
		||||
	Remove-Item $path_dependencies -Recurse
 | 
			
		||||
}
 | 
			
		||||
# if ( Test-Path $path_dependencies ) {
 | 
			
		||||
# 	Remove-Item $path_dependencies -Recurse
 | 
			
		||||
# }
 | 
			
		||||
if ( Test-Path $path_project ) {
 | 
			
		||||
	Remove-Item $path_build -Recurse
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user