This is an initial implementation of the mgmt language. It is a declarative (immutable) functional, reactive, domain specific programming language. It is intended to be a language that is: * safe * powerful * easy to reason about With these properties, we hope this language, and the mgmt engine will allow you to model the real-time systems that you'd like to automate. This also includes a number of other associated changes. Sorry for the large size of this patch.
14 lines
338 B
Bash
Executable File
14 lines
338 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# XXX: this has not been updated to latest GAPI/Deploy API. Patches welcome!
|
|
exit 0
|
|
|
|
go build -i -o libmgmt libmgmt-change2.go
|
|
# this example should change graphs frequently, and then shutdown...
|
|
$timeout --kill-after=30s 20s ./libmgmt &
|
|
pid=$!
|
|
wait $pid # get exit status
|
|
e=$?
|
|
rm libmgmt # cleanup build artefact
|
|
exit $e
|