#multi-service #single #configure #run #variables #rules #build-util

build moona

Build-util for easy configure run for single and multi service app

4 releases (breaking)

0.4.0-beta Sep 30, 2024
0.3.0 Sep 29, 2024
0.2.0 Sep 26, 2024
0.1.0 Sep 13, 2024

#136 in Configuration

Apache-2.0

13KB
166 lines

Moona 🌙

Moona is build-util for easy configure run for single and multi service app

Example

[vars]
path1 = "some/path"
path2 = "example/path"
path3 = "test/path"

[rules]
build1 = "cargo build --manifest-path {path1}"
service1 = "cargo run --manifest-path {path1}"
build2 = "cargo build --manifest-path {path1}"
service2 = "cargo run --manifest-path {paht2}"
service3 = "cargo run --manifest-path {paht3}"

[threads]
build_thread1 = ['build1']
build_thread2 = ['build2']
thread1 = ["servicee1", "service2"]
thread2 = ["service3"]

[order]
order = [['build_thread1', 'build_thread2'], ['thread1', 'thread2']]

Installation

  1. From Cargo: cargo install moona
  2. Releases

Use

  1. moona
  2. moona <PATH>
  3. moona -r <RULE>

License

Dependencies

~4–13MB
~138K SLoC