🛠️Setup

Basic setup of the TOMB Compiler

TOMB Installation

  1. Extract it (if you downloaded)

  2. Go to the folder and open a terminal there

  3. Run

    dotnet publish

That's it, you have the compiler ready!

Now you can add it to the path.

TOMB to PATH

Setup TOMB to the PATH

It's really helpful, so you don't need to always specify the full path to the folder if you have the TOMB compiler in the path

Windows

On Windows what you should do is:

  1. Right-click on the Start Button

  2. Select “System” from the context menu.

  3. Click “Advanced system settings”

  4. Go to the “Advanced” tab

  5. Click “Environment Variables…”

  6. Click variable called “Path” and click “Edit…”

  7. Click “New”

  8. Enter the path to the folder containing the binary you want on your PATH. To add: C:\PathToTomb\Compiler\bin\Debug\net6.0\publish

Now you can do something like

TombCompiler.exe myTombContract.tomb // From everywhere on Windows

Linux & MacOS

On Linux and MacOS:

  1. On the terminal

  2. export PATH=$PATH:/pathToTombCompiler/Compiler/bin/Debug/net6.0/publish
  3. That's it.

./TombCompiler.dll myTombContract.tomb // From everywhere on Linux/Mac

For more information

Last updated