bldr

command module
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 10 Imported by: 0

README

Builder. Run build scripts anywhere in the project.

Small script to execute build commands (or any other commands) from anywhere in your project as if you were in the project root directory.

Usage

Create a .bldr file in the root of the project. This is a JSON file containing a map of actions to commands.

An action is passed to bldr to have it execute the command.

Example

In .bldr

{
  "build": "cmake --build build",
  "run": "./build/executable"
}
bldr build # will run `cmake --build build` in the project root
bldr run # will run `./build/executable` in the project root

Build

Requires go

make
make install

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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