build-sbf.mjs 288 B

12345678910
  1. #!/usr/bin/env zx
  2. import 'zx/globals';
  3. import {
  4. cliArguments,
  5. workingDirectory,
  6. } from '../utils.mjs';
  7. const [folder, ...args] = cliArguments();
  8. const manifestPath = path.join(workingDirectory, folder, 'Cargo.toml');
  9. await $`cargo-build-sbf --manifest-path ${manifestPath} ${args}`;