1 unstable release
Uses old Rust 2015
0.1.0 | Sep 14, 2016 |
---|
#74 in #artifact
4KB
69 lines
Quickstart for Rust
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).
Dependencies
~13MB
~321K SLoC