2 releases

0.0.2 Mar 31, 2021
0.0.1 Mar 31, 2021

#23 in #hex-color

32 downloads per month

GPL-3.0-or-later

18KB
85 lines

Heks

A lib/tool exchanges hexadecimal color input.

Repositories

This is mainly developed on grauwoelfchen/heks on GitLab.com, but the source code is hosted also on several following repositories.

Any merge/pull requests or issues on any repository are welcomed.

# the main branch is "trunk"
% git clone git@gitlab.com:grauwoelfchen/heks.git
% git --no-pager branch -v
* trunk xxxxxxx XXX

Install

% cargo install heks

Usage

REPL

% heks
> t
invalid value is given
> 888888
r: 136 g: 136 b: 136
> #222222
r: 34 g: 34 b: 34
>

Development

Verify

# check code using all verify:xxx targets
% make verify:all

See make help.

Test

% make test

CI

Run CI jobs on a docker conatiner (grauwoelfchen/rust:stable, Gentoo Linux) using gitlab-runner. See .gitlab-ci.yml.

# install gitlab-runner into .tools
% .tool/setup-gitlab-runner

# prepare environment variables for CI via .env.ci
% cp .env.ci.sample .env

# e.g. test (see .gitlab-ci.yml)
% .tool/ci-runner test

License

GPL-3.0-or-later

Heks
Copyright 2021 Yasuhiro Яша Asaka

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.

Dependencies

~5MB
~103K SLoC