Skip to content

Setting up the Flix compiler project

Jakob Schneider edited this page Jun 2, 2022 · 32 revisions

Here's how to set up the the Flix compiler project.

  1. Set up ssh and gpg keys
  2. Clone my own fork
  3. Create a branch called main with git branch main
  4. Check out main with git checkout main
  5. Delete master locally git branch -D master
  6. Set up Flix as remote git remote add -t master -m master upstream git@github.com:flix/flix.git
  7. Fetch and update branches git fetch --prune --all
  8. Set the correct upstream git branch --set-upstream-to=upstream/HEAD main
  9. Pull latest changes git pull

Remember to set signingKey, email, and name in the global git settings with git config --global user.<key> <value>

In short summary:

$ git clone git@github.com:jaschdoc/flix.git
$ git branch main
$ git checkout main
$ git branch -D master
$ git remote add -t master -m master upstream git@github.com:flix/flix.git
$ git fetch --prune -all
$ git branch --set-upstream-to=upstream/HEAD main
$ git pull

My IntelliJ font settings are:

  • Font size 18

Here's a short list of the Flix keywords (may be out of date) for IntelliJ highlighting

TODO

Clone this wiki locally