MCPcopy Index your code
hub / github.com/darkreader/darkreader / run

Function run

tasks/build.js:87–98  ·  view source on GitHub ↗
({release, debug, platforms, watch, log, test, version})

Source from the content-addressed store, hash-verified

85}
86
87async function run({release, debug, platforms, watch, log, test, version}) {
88 const regular = Object.keys(platforms).some((platform) => platform !== PLATFORM.API && platforms[platform]);
89 if (release && regular) {
90 await build({platforms, version, debug: false, watch: false, log: null, test: false});
91 }
92 if (debug && regular) {
93 await build({platforms, version, debug, watch, log, test});
94 }
95 if (platforms[PLATFORM.API]) {
96 await api(debug, watch);
97 }
98}
99
100function getParams(args) {
101 const argMap = {

Callers 1

build.jsFile · 0.70

Calls 2

buildFunction · 0.85
apiFunction · 0.85

Tested by

no test coverage detected