Skip to content

Instantly share code, notes, and snippets.

@hiyms
hiyms / Dockerfile
Last active October 12, 2025 06:04
Cangjie Build x86_64 Dockerfile
FROM ubuntu:22.04
RUN sed -i "s@http://.*archive.ubuntu.com@http://mirrors.huaweicloud.com@g" /etc/apt/sources.list
RUN sed -i "s@http://.*security.ubuntu.com@http://mirrors.huaweicloud.com@g" /etc/apt/sources.list
RUN apt update && apt upgrade -y
RUN apt install -y \
tar unzip wget curl libcurl4 expat openssl make gcc g++ gettext \
nfs-common libtool sqlite3 zlib1g-dev libssl-dev cmake ninja-build\
libcurl4-openssl-dev sudo autoconf build-essential rapidjson-dev \
@hiyms
hiyms / au.toml
Last active October 1, 2025 16:33
# 配置文件
# 仓颉语言包管理器配置
# ===== 包基本信息 =====
[package]
name = "my-cangjie-project"
version = "0.1.0"
cjc-version = "1.0.0"
build = "xxx.cj" # 支持单文件/目录。为多文件时视该文件夹为一个包的根目录
links = {"xxx"} # 推荐使用,须在 build script 中指定 search-dir