Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ tada Public

Tomek's Ada build tool

License

Notifications You must be signed in to change notification settings

tomekw/tada

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tada Tests

Abracadabra was too long. Tomek's Ada, too obvious. An opinionated project management tool for Ada.

Tada handles building, testing, and running Ada projects. It wraps GPRbuild with sensible defaults and a simple project manifest (tada.toml), so you spend less time writing build scripts and more time writing Ada.

Prerequisites

Debian / Ubuntu

sudo apt install gnat gprbuild libaunit-dev
  • gnat -- GNAT Ada compiler
  • gprbuild -- GPR-based build system for Ada
  • libaunit-dev -- AUnit testing framework (needed to build and run tests)

Installation

See Releases.

curl -L https://github.com/tomekw/tada/releases/download/VERSION/tada-VERSION-PLATFORM -o tada && chmod +x tada

Copy it somewhere on your PATH:

cp tada ~/.local/bin/

Once installed, Tada can build itself:

tada build --profile release

Usage

Create a new project

tada init my_project          # executable project (default)
tada init my_project --lib    # library project

Build

tada build                      # debug build (default)
tada build --profile release    # release build

Run

tada run                                  # build and run (debug)
tada run --profile release                # build and run (release)
tada run --profile debug -- --flag arg    # pass arguments to the executable

Test

tada test                       # build and run tests (debug)
tada test --profile release     # build and run tests (release)

Clean

tada clean    # remove the target/ directory

Help

tada help

Testing

Tada's own test suite uses AUnit:

tada test

Roadmap

  • local dependencies
  • git dependencies
  • dependencies index (?)

License

MIT

About

Tomek's Ada build tool

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages