chore: 官网拆分 homepage + 关于页瘦身 + 端口 5175(当前可用状态基线)
This commit is contained in:
1 parent
5eb11826db
commit
be151cb68f
85 files changed
+4420
-1530
No files matched your search
@@ -19,6 +19,11 @@ test('build.sh is valid Bash and documents supported native targets', () => {
|
||||
assert.match(help.stdout, /win-x64/)
|
||||
assert.match(help.stdout, /linux-x64/)
|
||||
assert.match(help.stdout, /不会创建或推送 Git tag/)
|
||||
assert.match(help.stdout, /src-tauri\/target\/<triple>\/release\/bundle\//)
|
||||
|
||||
const script = readFileSync(resolve(root, 'scripts/build.sh'), 'utf8')
|
||||
assert.match(script, /BUNDLE_ROOT=.*release\/bundle/)
|
||||
assert.doesNotMatch(script, /ROOT_DIR\/release\/v/)
|
||||
})
|
||||
|
||||
test('build.bat provides an equivalent native Windows x64 release path', () => {
|
||||
@@ -30,6 +35,8 @@ test('build.bat provides an equivalent native Windows x64 release path', () => {
|
||||
assert.match(script, /nsis\\\*\.exe/)
|
||||
assert.match(script, /SHA256SUMS\.txt/)
|
||||
assert.match(script, /不会创建或推送 Git tag/)
|
||||
assert.match(script, /src-tauri\\target\\<triple>\\release\\bundle\\/)
|
||||
assert.doesNotMatch(script, /release\\v%VERSION%/)
|
||||
})
|
||||
|
||||
test('release metadata versions stay synchronized', () => {
|
||||
|
||||
Reference in new issue
Block a user