27 lines
755 B
Markdown
27 lines
755 B
Markdown
# mp-build | MatterLinux package build scripts
|
|
The package build scripts for MatterLinux package system. These scripts
|
|
are used for building and creating packages.
|
|
|
|
### Usage
|
|
To create an package source directory, you can use the `mp-new`
|
|
script:
|
|
```bash
|
|
mp-new <name>_<version>
|
|
```
|
|
This will create all the required source files, all templated
|
|
according to the package name and the version you specify.
|
|
|
|
After editing the source files, you can build the package by
|
|
using the `mp-build` script:
|
|
```bash
|
|
mp-build /path/to/package
|
|
```
|
|
When the build is completed, the package archive will be created
|
|
inside the `/path/to/package/dist` directory.
|
|
|
|
You can also specify different build options, to list these
|
|
options you can run:
|
|
```bash
|
|
mp-build --help
|
|
```
|