2 个版本
0.0.2 | 2021年3月31日 |
---|---|
0.0.1 | 2021年3月31日 |
#21 in #hex-color
18KB
85 行
赫克斯
一个库/工具交换十六进制颜色输入。
仓库
该工具主要在 GitLab.com 的 grauwoelfchen/heks 上开发,但源代码也托管在以下多个仓库。
欢迎在任何一个仓库上的合并/拉取请求或问题。
- https://gitlab.com/grauwoelfchen/heks
- https://github.com/grauwoelfchen/heks
- https://git.sr.ht/~grauwoelfchen/heks
# the main branch is "trunk"
% git clone [email protected]:grauwoelfchen/heks.git
% git --no-pager branch -v
* trunk xxxxxxx XXX
安装
% cargo install heks
用法
REPL
% heks
> t
invalid value is given
> 888888
r: 136 g: 136 b: 136
> #222222
r: 34 g: 34 b: 34
>
开发
验证
# check code using all verify:xxx targets
% make verify:all
请参阅 make help
。
测试
% make test
CI
使用 gitlab-runner 在 docker 容器上运行 CI 作业(grauwoelfchen/rust:stable
,Gentoo Linux)。请参阅 .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
许可证
GPL-3.0-或-更新的
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/>.
依赖关系
~6MB
~110K SLoC