From: Ivan Denisov Date: Mon, 9 May 2016 08:19:47 +0000 (+0700) Subject: update example for encoding subsystems X-Git-Url: http://deadsoftware.ru/gitweb?p=bbcp.git;a=commitdiff_plain;h=7f3cc8ea809745873425e0f7cb4f923f13a2bdb4 update example for encoding subsystems --- diff --git a/examples/compress/Coder-List.odc b/examples/compress/Coder-List.odc new file mode 100755 index 0000000..f7e57f1 Binary files /dev/null and b/examples/compress/Coder-List.odc differ diff --git a/examples/compress/README b/examples/compress/README old mode 100644 new mode 100755 index 19822f0..c93b01e --- a/examples/compress/README +++ b/examples/compress/README @@ -1,3 +1,20 @@ -App for edcoding susystems. +Application for web-service which edcode BlackBox subsystems. +Used by http://gitlab.molpit.org for processing of repository hooks. -Used with http://gitlab.molpit.com for process repository hooks. +Author: Ivan Denisov, denisov@molpit.org + +Installation for Linux + +1. Prepare Interp version of BlackBox in "Linux_Interp" folder: + ./switch-target `uname -s` Interp + ./build + ./export ../Linux_Interp + +2. Compile this example: + cd ../examples/encoder + echo "DevCompiler.CompileThis StdCoder Init" | ./runc + +3. For demonstration run: + ENCODE_LIST_NAME='Coder-List.odc' ENCODE_LIST_PATH='' ./runc + +Output will contain two files encoded by StdCoder: 'Std/Mod/Coder.odc' and 'System/Mod/Init.odc'. diff --git a/examples/compress/Std/Mod/Coder.odc b/examples/compress/Std/Mod/Coder.odc old mode 100644 new mode 100755 diff --git a/examples/compress/System/Mod/Init.odc b/examples/compress/System/Mod/Init.odc old mode 100644 new mode 100755 diff --git a/examples/compress/run-dev b/examples/compress/run-dev deleted file mode 100755 index 50874c1..0000000 --- a/examples/compress/run-dev +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# fix Ubuntu-specific problems: -unset UBUNTU_MENUPROXY -unset GTK_MODULES -export LIBOVERLAY_SCROLLBAR=0 -mv Code Code_ -env \ - BB_PRIMARY_DIR="../../BlackBox" BB_SECONDARY_DIR="$PWD" \ -../../BlackBox/blackbox