First Project

Create a project:

code
donna new hello
cd hello

New projects include source code, project metadata, a demo test, and a GitHub Actions workflow. The goal is simple: you should be able to run the test suite immediately.

Run the tests:

code
donna test

Run the app:

code
donna run

A minimal app looks like this:

code
pub fn main() -> Nil:
  echo "Hello from Donna"

Libraries do not need main. Apps do. If you try to run a library, Donna should say that clearly. Precision matters.