The library of schemes is a basic set of descriptions of syntaxes and styles of the coloring, used by Colorer library. The project contains files and scripts for creation of library of schemes.
Improvements of translation of this file to English are welcome
To build the library of schemes, you will need:
Download the source from git repository:
git clone https://github.com/colorer/Colorer-schemes.git
Run build
build.cmd target
where the target is one of the values
Before starting the build scripts, make sure that the PATH environment variable contains the path to jdk and ant. Also you need the environment variable JAVA_HOME set. For example:
set PATH=v:\apps\jdk\bin;v:\apps\ant\bin;%PATH%
set JAVA_HOME=v:\apps\jdk
Here is an example on Ubuntu 20.04.
Install ant
apt-get install ant
If the apt config contains APT::Install-Recommends "False";
, then you must also install ant-optional
.
Descriptions of syntaxes (scheme) are divided into static and generated. Static are in a directory hrc/hrc, generated in hrc/src.
After scheme change, it is necessary test changes for regressions. For this purpose it is necessary:
build base
bin
directory in the root of the project has colorer
(the utility for working with library of schemes)runtest.py
from hrc/test
directory fails.html
file in current_working_dir/time_of_test directory.Also before modification of a repository it is recommended to edit the hrc/hrc/CHANGELOG file