mirror of
				https://github.com/nsnail/dot.git
				synced 2025-11-04 02:55:28 +08:00 
			
		
		
		
	build: 📦 构建脚本优化 (#24)
This commit is contained in:
		@@ -13,11 +13,11 @@ git checkout main
 | 
				
			|||||||
git branch -D release
 | 
					git branch -D release
 | 
				
			||||||
git checkout -b release
 | 
					git checkout -b release
 | 
				
			||||||
./node_modules/.bin/standard-version -r $types[$prefix][0]
 | 
					./node_modules/.bin/standard-version -r $types[$prefix][0]
 | 
				
			||||||
 | 
					cd ./scripts
 | 
				
			||||||
./code.clean.ps1
 | 
					./code.clean.ps1
 | 
				
			||||||
git commit --amend --no-edit -a
 | 
					git commit --amend --no-edit -a
 | 
				
			||||||
git push --follow-tags --force origin release
 | 
					git push --follow-tags --force origin release
 | 
				
			||||||
Start-Process -FilePath "https://github.com/nsnail/dot/compare/main...release"
 | 
					Start-Process -FilePath "https://github.com/nsnail/dot/compare/main...release"
 | 
				
			||||||
cd ./scripts
 | 
					 | 
				
			||||||
Write-Host "按『Enter』回到主分支,『Ctrl+C』退出"
 | 
					Write-Host "按『Enter』回到主分支,『Ctrl+C』退出"
 | 
				
			||||||
Pause
 | 
					Pause
 | 
				
			||||||
git checkout main
 | 
					git checkout main
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
dotnet jb cleanupcode --no-build --include =$( $( git status --porcelain | Where-Object { $_ -match "^\s*[MA]" } | ForEach-Object { $_.TrimStart(" M").TrimStart(" A") } ) -join ";" ) ../Dot.sln
 | 
					jb cleanupcode --no-build --include =$( $( git status --porcelain | Where-Object { $_ -match "^\s*[MA]" } | ForEach-Object { $_.TrimStart(" M").TrimStart(" A") } ) -join ";" ) ../Dot.sln
 | 
				
			||||||
dot rbom -w -e refs -e .git -e node_modules ../
 | 
					dot rbom -w -e refs -e .git -e node_modules ../
 | 
				
			||||||
dot trim -w -e refs -e .git -e node_modules ../
 | 
					dot trim -w -e refs -e .git -e node_modules ../
 | 
				
			||||||
dot tolf -w -e refs -e .git -e node_modules ../
 | 
					dot tolf -w -e refs -e .git -e node_modules ../
 | 
				
			||||||
		Reference in New Issue
	
	Block a user