Nico Schottelius
|
0f83417652
|
argc-=1 for cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
f2cfebd188
|
rename *codegen -> gencode (according to manpage and the way types are defined)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
cc05c6324c
|
provide __global for manifests and codegen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
cd70c2ecee
|
cleanups + finish: we're able to run code remotely
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
5433befd4a
|
adjust bin/cdist-object-codegen to new style with env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
30919f126b
|
exit 0, but warn if gencode is not executable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Steven Armstrong
|
5a0f7d6a0e
|
need non-error exit code in cdist-object-codegen or it stops the whole execution chain
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
|
14 years ago |
Nico Schottelius
|
40068d68de
|
s/||/&&/
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
1f5fee5bad
|
always prepend header in gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
f7e18d94ec
|
submit object_id in gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
5dcb719844
|
introduce and use __cdist_exec_fail_on_error
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
ff41ce0318
|
ensure failing if manifest or gencode break
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
cae8f31923
|
cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
b1c5012f3c
|
Make __cdist_exit_err write on stderr :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
8ef43abf25
|
abort if codegen fails
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
04dd1672b1
|
rename cdist-code-gen -> cdist-object-codegen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
e4fbb1a5d8
|
finish cdist-code-gen
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
fafb427928
|
implement cdist-code-gen (in theory)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
34f845ec86
|
2nd level cconfig generation works (with debug)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
344d59005b
|
add initial types describing document
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
4c84c819f5
|
[type] NEW: issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
e5297ddf31
|
move types to config dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
9130ee71f4
|
this is not a manifest, but gencode part
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
4d4a13b0ab
|
add functionality to type "file"
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |
Nico Schottelius
|
b81b19d126
|
begin to create first type: file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
14 years ago |