9 releases

✓ Uses Rust 2018 edition

0.1.8 Nov 17, 2019
0.1.7 Nov 13, 2019
0.1.5 Oct 10, 2019
0.1.3 Sep 17, 2019

#111 in Testing

Download history 52/week @ 2019-11-12 26/week @ 2019-11-19 34/week @ 2019-11-26 9/week @ 2019-12-03 126/week @ 2019-12-10 9/week @ 2019-12-24 4/week @ 2019-12-31 112/week @ 2020-01-07 18/week @ 2020-01-14 1/week @ 2020-01-28 9/week @ 2020-02-11 36/week @ 2020-02-18

133 downloads per month

MIT license

7.5MB
126K SLoC

JavaScript 121K SLoC // 0.3% comments Rust 4.5K SLoC // 0.0% comments Handlebars 567 SLoC // 0.0% comments

mber-rust

WARNING: THIS A WORK IN PROGRESS PROOF-OF-CONCEPT PHASE SOFTWARE.

cargo install mber

Build system consists of 2 packages:

  • mber: a cli re-written in Rust, it provides an exceptionally fast user experience to already very fast mber build system.
  • mber-rust: This is an npm package with neon/rust bindings. This package allows us to run a node.js runtime/JS execution context for fastboot while utilizing mber cli. This npm library also exposes internal build functions written in rust to JavaScript via neon bindings.

Folders:

  • ember-app-boilerplate: Boilerplate project that dynamically gets writen on $ mber new.
  • lib: JS code used by mber-rust npm package.
  • native: Rust code that runs inside node.js.
  • src: Rust code used by mber cargo bin + package.
  • tests: Integration tests for mber cargo bin + package.
  • _vendor: holds certain addons that ship with mber build system, kept raw but gets injected and transpiled during compilation or runtime of mber binary.
  • scripts: certain npm/node scripts to build ember packages from npm

Files:

  • build.rs: Rust script that gets run before compilation
  • index.js: Entrypoint for mber-rust npm package.
  • package.json: holds dependencies for mber-rust npm package and devDependencies for mber development scripts

Required system software:

  • Rust
  • node.js
  • festival(if you want your build system to warn you on failed builds via tts[text-to-speech])

Dependencies

~8.5MB
~184K SLoC