From 7f3cc8ea809745873425e0f7cb4f923f13a2bdb4 Mon Sep 17 00:00:00 2001 From: Ivan Denisov Date: Mon, 9 May 2016 15:19:47 +0700 Subject: [PATCH] update example for encoding subsystems --- examples/compress/Coder-List.odc | Bin 0 -> 1041 bytes examples/compress/README | 21 +++++++++++++++++++-- examples/compress/Std/Mod/Coder.odc | Bin examples/compress/System/Mod/Init.odc | Bin examples/compress/run-dev | 10 ---------- 5 files changed, 19 insertions(+), 12 deletions(-) create mode 100755 examples/compress/Coder-List.odc mode change 100644 => 100755 examples/compress/README mode change 100644 => 100755 examples/compress/Std/Mod/Coder.odc mode change 100644 => 100755 examples/compress/System/Mod/Init.odc delete mode 100755 examples/compress/run-dev diff --git a/examples/compress/Coder-List.odc b/examples/compress/Coder-List.odc new file mode 100755 index 0000000000000000000000000000000000000000..f7e57f1e7c7d4bde40429599c36264fe4f20e824 GIT binary patch literal 1041 zcmah|y-EW?5T2;`AGENtvd~84@(PiQh=qurSQrpASuk+9gS!nH5D7_RC3X@N1XKDB z;zL;a5ay~Bg3iqD<~E7wz_Q=Y?0oah&YfG>3jwX!Erg|7RRl72JXtn}f{06Cg$Dg@ z7|7E~Afnhgs)!49nUHn<^kf(bBE^kwP&u+GT({#4TULqPuq=Ex3U{-*SF@PDw@3^xyyNBXZDv8);sycP|eThk;OcHyo94+S1Dv-nyLM$Wll1VNN zaD)2-u7*AX>=RO&blRqrQRS>AMLgJvNm(`^Ltq`QUKzk0Z)@oLMoBqj%enZFkrS3n zS+5>TQDx^&P?6+QMd^W~(D!MAnC8kzzdSW!2U9#UncqT&b12rI%aZPbW@A}KsXC|` zL5x&IQltZ^H&LGtzzed_h&qZ*jVR^uWZhREAJ48IFy4f6jZGss)`tN>|IKEVlGHd5 ztaKE~b~^)4_>WP*1e-~g?ppTuT+PM#9ssS4ha$}NAaDP*!*9K4lJrh(vGJqli!ng^ R85&=+yxvaEq49VR@B;z-8K3|F literal 0 HcmV?d00001 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 -- 2.29.2