MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / main

Function main

xtask/src/main.rs:255–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253}
254
255fn main() -> Result<()> {
256 let mut args = env::args().skip(1);
257 match args.next().as_deref() {
258 Some("assets") => assets(args.collect()),
259 Some("extensions") => extension_catalog::extensions(args.collect()),
260 Some("release") => release(args.collect()),
261 Some("package-size") => package_size(args.collect()),
262 Some("perf") => perf(args.collect()),
263 Some("aot-serializer") => aot_serializer(args.collect()),
264 Some("help") | None => {
265 print_usage();
266 Ok(())
267 }
268 Some(other) => bail!("unknown xtask command: {other}"),
269 }
270}
271
272fn assets(args: Vec<String>) -> Result<()> {
273 match args.first().map(String::as_str) {

Callers

nothing calls this directly

Calls 7

assetsFunction · 0.85
extensionsFunction · 0.85
releaseFunction · 0.85
package_sizeFunction · 0.85
perfFunction · 0.85
aot_serializerFunction · 0.85
print_usageFunction · 0.70

Tested by

no test coverage detected