MCPcopy Create free account
hub / github.com/cawfree/react-native-helios / getBuildScriptSource

Method getBuildScriptSource

scripts/heliosup.ts:474–486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

472 return ['cargo-ndk'];
473 }
474 protected getBuildScriptSource(): readonly string[] {
475 return [
476 '#!/usr/bin/env bash',
477 '',
478 'rustup target add aarch64-linux-android',
479 'rustup target install x86_64-linux-android',
480 //'cargo fix --lib -p helios --allow-dirty',
481 '',
482 this.getTargets()
483 .map((target) => `cargo ndk --target ${target} -- build --release`)
484 .join(' && '),
485 ];
486 }
487 protected getCrateType(): string {
488 return 'cdylib';
489 }

Callers

nothing calls this directly

Calls 1

getTargetsMethod · 0.95

Tested by

no test coverage detected