Sources: add Gitea; fix Windows shims for shell tool, repo paths and stateDir

This commit is contained in:
dev
2026-11-01 19:32:40 +08:00
committed by Wanderingss
parent 6337fc823c
commit 4379973775
22 changed files with 1182 additions and 28 deletions
+5
View File
@@ -0,0 +1,5 @@
const files = ['gitea-trigger.ts', 'gitea-api.ts', 'gitea-channel.ts', 'gitea.ts']
for (const f of files) {
try { await import('./src/sources/' + f); console.log(f, 'IMPORT OK') }
catch (e) { console.log(f, 'FAIL', e.constructor.name, String(e.message).split('\n')[0], 'at line', (e.stack ?? '').split('\n').find(l => l.includes(f) && /:\d+:\d+/.test(l)) ?? '?') }
}