Crates.io | morph |
lib.rs | morph |
version | 0.1.0 |
source | src |
created_at | 2016-09-14 11:55:14.312373 |
updated_at | 2016-09-14 11:55:14.312373 |
description | Baserock build tool |
homepage | http://baserock.org |
repository | https://gitlab.com/baserock/morph-rs |
max_upload_size | |
id | 6485 |
size | 4,354 |
Get rustup from here https://www.rustup.rs/ Do
rustup install nightly rustup default nightly cargo build
To run it go
./target/debug/morph
To interact with definitions, do
git clone https://gitlab.com/baserock/simpledefs cd simpledefs ../target/debug/morph build systems/base-system-x86_64.morph
Morph requires bubblewrap to be on your path in order to build anything.
Arch users can get this from the AUR with
yaourt -S bubblewrap-git sudo chown root:root /usr/bin/bwrap sudo chmod a+s /usr/bin/bwrap
This is a proof of concept, it will currently parse and evaluate a full system definition in simpledefs using tremor, and attempt to run all of the configure commands for each chunk in the system in a staging area using bubblewrap and the host tools. It will not produce full artifacts or comprehend dependencies (yet).