hello-monorepo

module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2022 License: Apache-2.0

README

hello-monorepo

A simple monorepo with the following structure:

├── services
│   ├── go-server
│   ├── go-worker
│   └── py-server
└── tools
    ├── go-ping
    └── go-uname

Dagger

CLI tasks can be performed with Mage

Try tasks like:

  • mage GoServer
  • mage GoUname

These will build the subproject and put the build output in your local directory.

Each project has it's own build submodule which defines it's build instructions for Dagger to use. The Mage tasks will handle connecting to the dagger engine and executing a build of a specified project.

In this example, the services/go-server project depends on tools/go-uname and tools/go-ping, so you can see how it imports the build instructions for those projects.

Directories

Path Synopsis
services
tools

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL