/eggcc

Primary LanguageRustMIT LicenseMIT

eggcc

How to set up

  • Install rust
  • Clone the repo (don't forget to --recurse-submodules!)
    git clone --recurse-submodules git@github.com:oflatt/eggcc.git
    
    • If you forget to pass --recurse-submodules to clone, you can either remove the directory and try again, or you can
      cd egcc
      git submodule update --init --recursive
      
  • Install the insta command for cargo
    cargo install cargo-insta
    
  • Run the tests with cargo test and ensure things build and run without errors.

How to add a test

  • Add a bril file under tests/.
  • Run cargo insta review to confirm the output for the new file.