mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 10:00:30 +08:00
chore: update .gitignore for .env and README with docker build instructions
This commit is contained in:
@@ -46,3 +46,4 @@ __pycache__/
|
|||||||
*.py[cod]
|
*.py[cod]
|
||||||
.venv/
|
.venv/
|
||||||
venv/
|
venv/
|
||||||
|
.env
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
| 目录 | 说明 |
|
| 目录 | 说明 |
|
||||||
|------|------|
|
|------|------|
|
||||||
| [`java/`](java/) | Maven 多模块:`craftlabs-auth-core`、`craftlabs-auth-bitanswer`、`craftlabs-auth-selfhosted`、`craftlabs-auth-tests` |
|
| [`java/`](java/) | Maven 多模块:`craftlabs-auth-core`、`craftlabs-auth-bitanswer`、`craftlabs-auth-selfhosted`、`craftlabs-auth-tests` |
|
||||||
| [`native/`](native/) | CMake:`libcraftlabs_auth_bitanswer`(JNI + 比特/自研适配占位) |
|
| [`native/`](native/) | **Rust Cargo workspace**:`craft-core` cdylib 导出 `craft_*` C ABI(对齐 `docs/平台架构思路.md`);旧 C++ CMake 见 `.deprecated-cmake/` |
|
||||||
| [`schemas/`](schemas/) | `craftlabs-auth-config` JSON Schema |
|
| [`schemas/`](schemas/) | `craftlabs-auth-config` JSON Schema |
|
||||||
| [`examples/`](examples/) | 示例配置与烟测脚本 |
|
| [`examples/`](examples/) | 示例配置与烟测脚本 |
|
||||||
| [`docs/`](docs/) | 比特对接、创飞平台产品/流程/工程架构文档 |
|
| [`docs/`](docs/) | 比特对接、创飞平台产品/流程/工程架构文档 |
|
||||||
@@ -21,9 +21,9 @@
|
|||||||
# Java(需 JDK 17+)
|
# Java(需 JDK 17+)
|
||||||
mvn -f java/pom.xml verify
|
mvn -f java/pom.xml verify
|
||||||
|
|
||||||
# Native(需 CMake、C++、可选 JDK 用于 JNI)
|
# Rust 核心库(需 Rust 1.70+)
|
||||||
cmake -S native -B native/build -DCRAFTLABS_BUILD_JNI=ON
|
cargo build --manifest-path native/craft-core/Cargo.toml --release
|
||||||
cmake --build native/build
|
# 产物:native/target/release/libcraftlabs_auth_bitanswer.{so,dylib,dll}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 发布与完整性(SHA-256 / GPG)
|
## 发布与完整性(SHA-256 / GPG)
|
||||||
|
|||||||
Reference in New Issue
Block a user