From 8c1a0b358821b18ab654bbaf986249f27be81bcb Mon Sep 17 00:00:00 2001 From: Ivan Denisov Date: Sun, 28 May 2017 20:06:49 +0700 Subject: [PATCH] append example --- examples/append/README | 19 +++++++++++++++++++ examples/append/System/Mod/Init.odc | Bin 0 -> 4002 bytes examples/append/runc | 4 ++++ 3 files changed, 23 insertions(+) create mode 100755 examples/append/README create mode 100644 examples/append/System/Mod/Init.odc create mode 100755 examples/append/runc diff --git a/examples/append/README b/examples/append/README new file mode 100755 index 0000000..47e75d6 --- /dev/null +++ b/examples/append/README @@ -0,0 +1,19 @@ +# Application for build server which append strings to System/Rsrc/Strings.odc. +# Used by http://blackbox.obertone.ru in BlackBox CI system. + +# Installation for Linux + +# 1. Prepare Interp version of BlackBox in "Linux_Interp" folder: +cd ../../BlackBox +./switch-target `uname -s` Interp +./build +./export ../Linux_Interp + +# 2. Compile this example: +cd ../examples/append +echo "DevCompiler.CompileThis Init" | ./runc + +# 3. For demonstration run: +FILEPATH='System/Rsrc' FILENAME='Strings.odc' KEY='test' VALUE='1' ./runc + +# Then check System/Rsrc/Strings.odc. It will contain the string with key and value in the last line. diff --git a/examples/append/System/Mod/Init.odc b/examples/append/System/Mod/Init.odc new file mode 100644 index 0000000000000000000000000000000000000000..ff137525c40ca7cc1962655588e764508d00c44a GIT binary patch literal 4002 zcmaJ^&2Jk;6yLN6aA|<@AzB1ta3irP?vfU%5;mZ^w$qq8PO#mEQng}ZPwZ9KyJmOo zBm$(Wl{oi?kPrtrAx>O4BK{Ztfi|Zekjn49nf=NKE3fyr?`z(?dGF0mt-j_Pxb8o$ z`~B%ydQoU~qe1*qmto(?u=4bp??txb$sn|DIC5JF6Uw|l>PCJb$tWHyLBrAY9PW2s zV)!64#Hv4#t}>OepP@1gtqesE(QxIM75AQDtA;Ut(J%_Y5>LMFKkmt$NV$kG}?^$i<%t_b)K82^cZqpFTC#_bEqQKdlMl#IL z8v}$PaRG?*87q7W!U44^tv}rSus|UBW&0I-!>d@oDSwUqK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