heks

Crates.ioheks
lib.rsheks
version0.0.2
sourcesrc
created_at2021-03-31 08:47:13.526012
updated_at2021-03-31 09:48:21.871066
descriptionA lib/tool exchanges hexadecimal color input
homepagehttps://gitlab.com/grauwoelfchen/heks
repositoryhttps://gitlab.com/grauwoelfchen/heks
max_upload_size
id376061
size50,193
Yasuhiro Яша Asaka (grauwoelfchen)

documentation

https://docs.rs/crate/heks

README

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/>.
Commit count: 26

cargo fmt