# Application for build server which append strings to System/Rsrc/Strings.odc.
# Used by http://blackbox.oberon.org 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.
