mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-03 10:38:03 +08:00
feat(core): first attempt to init script standard (#8224)
- lazy load - rate limit per path - init .debug.json support - docs - maintainer - radar
This commit is contained in:
6
scripts/workflow/build-radar.js
Normal file
6
scripts/workflow/build-radar.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const target = path.join(__dirname, '../../assets/build/radar-rules.js');
|
||||
const radar = require(path.join(__dirname, '../../lib/radar.js'));
|
||||
|
||||
fs.writeFileSync(target, radar.toSource());
|
||||
Reference in New Issue
Block a user