Skip to content

Instantly share code, notes, and snippets.

@compiler-errors
Last active April 9, 2019 19:48
Show Gist options
  • Save compiler-errors/47918aa4c92e0ddf0d5b8b2802cf7962 to your computer and use it in GitHub Desktop.
Save compiler-errors/47918aa4c92e0ddf0d5b8b2802cf7962 to your computer and use it in GitHub Desktop.
Instructions for Using my Preprocessor!

First, check out the preprocessor:

git clone git@gitlab.caltech.edu:mgoulet/preprocessor.git

Then install the Maven Mojo by navigating to the preprocessor directory and running:

mvn install

Which should complete successfully.

Also, make sure to grab a copy of my sources here: https://github.com/compiler-errors/nanodb-full..

Finally, execute the preprocessor by navigating to your nanodb-full directory and running:

mvn preprocessor:preprocessor -X -Dpreprocessor.vars.{full=1,storage_extensions=0}

If all goes well, then you should have your preprocessed sources sitting in target/preprocessed-sources/. Please inspect to make sure they are sane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment