Skip to content

Install Spoofax from Source

Perform a manual build and installation of cutting-edge Spoofax from source, by first cloning the Git repository:

git clone https://github.com/metaborg/spoofax-releng.git
git clone git@github.com:metaborg/spoofax-releng.git
gh repo clone metaborg/spoofax-releng

Then:

  1. Using a terminal, navigate to the root of the spoofax-releng repository.
  2. (Optional.) Generate a new Maven ~/.m2/settings.xml with the Spoofax repository information.

    ./b gen-mvn-settings
    

    This will overwrite your existing ~/.m2/settings.xml file!

  3. Invoke the following command to build Spoofax and its submodules and meta-languages:

    ./b build all
    
  4. (Optional.) Generate a new Eclipse instance with the Spoofax plugin embedded into it:

    ./b gen-eclipse --destination Spoofax.app
    

Last update: October 17, 2024
Created: October 17, 2024