瀏覽代碼

Chore: show repo size badge in the dist README

SukkaW 9 月之前
父節點
當前提交
928cc3c515
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Build/build-public.ts

+ 3 - 1
Build/build-public.ts

@@ -79,7 +79,9 @@ export const buildPublic = task(require.main === module, __filename)(async (span
     compareAndWriteFile(
       span,
       [
-        '# The source code is located at [Sukkaw/Surge](https://github.com/Sukkaw/Surge)'
+        '# The source code is located at [Sukkaw/Surge](https://github.com/Sukkaw/Surge)',
+        '',
+        '![GitHub repo size](https://img.shields.io/github/repo-size/sukkalab/ruleset.skk.moe?style=flat-square)'
       ],
       path.join(PUBLIC_DIR, 'README.md')
     )