Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 541 Bytes

CONTRIBUTE.md

File metadata and controls

27 lines (21 loc) · 541 Bytes

Local Test

# at root dir
cargo run -- <command> [args...]


cargo build # build binary

Release

# 0. assume you are in root dir
# 1. publish core package firstly and publish npm package respectively
cargo publish -p gito_core

# 2. update gito_core version in cli/Cargo.toml, then publish cli package
cargo publish -p gito

core npm

we use napi-rs to build js version of core, if you need to update it, please follow the steps below

npm run build
npm version patch
npm run publish:allPre/allProd