fix: move mkdir .cache/cdb step from zig wrapper to build.zig
This fixes #2
This commit is contained in:
		
							parent
							
								
									d0af97d72c
								
							
						
					
					
						commit
						aa74155cc1
					
				
					 2 changed files with 9 additions and 3 deletions
				
			
		
							
								
								
									
										3
									
								
								zig
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								zig
									
										
									
									
									
								
							|  | @ -7,8 +7,6 @@ BASEDIR="$(cd "$(dirname "$0")" && pwd)" | |||
| ZIGDIR=$BASEDIR/.cache/zig | ||||
| VERSION=$(< build.zig.version) | ||||
| 
 | ||||
| mkdir -p .cache/cdb | ||||
| 
 | ||||
| OS=$(uname) | ||||
| 
 | ||||
| if [ "$OS" == "Linux" ] ; then | ||||
|  | @ -54,7 +52,6 @@ get_zig | |||
| if [ "$1" == "cdb" ] ; then | ||||
|     rm -rf zig-cache | ||||
|     rm -rf .cache/cdb | ||||
|     mkdir -p .cache/cdb | ||||
| 
 | ||||
|     $ZIG build | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue