Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build CLI: Configurations on User Level & CI Improvements #2129

Merged
merged 16 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/lint_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ jobs:
echo ${{steps.cache-cargo.outputs}}
cargo install --path=cli
- name: install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
run: cargo install wasm-pack
- name: JS/TS linting
run: cargo chipmunk lint -u print
timeout-minutes: 30
run: cargo chipmunk lint -u immediate
- name: TypeScript Check - Client Application
working-directory: application/client
run: yarn run check
Expand Down Expand Up @@ -90,6 +91,7 @@ jobs:
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: cargo install --path=cli
- name: install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
run: cargo install wasm-pack
- name: Execute tests
run: cargo chipmunk test core wrapper wasm -u print
timeout-minutes: 30
run: cargo chipmunk test -u immediate
10 changes: 6 additions & 4 deletions .github/workflows/pullrequest_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ jobs:
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: cargo install --path=cli
- name: install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
run: cargo install wasm-pack
- name: JS/TS linting
run: cargo chipmunk lint -u print
timeout-minutes: 30
run: cargo chipmunk lint -u immediate
- name: TypeScript Check - Client Application
working-directory: application/client
run: yarn run check
Expand Down Expand Up @@ -92,6 +93,7 @@ jobs:
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: cargo install --path=cli
- name: install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
run: cargo install wasm-pack
- name: Execute tests
run: cargo chipmunk test core wrapper wasm -u print
timeout-minutes: 30
run: cargo chipmunk test -u immediate
7 changes: 7 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.2.8

## Features:

* User can configure the tool on user levels to set their preferred shell and UI mode.
* Default shell will be retrieved from environment variables in unix-based environments.

# 0.2.7

## Features:
Expand Down
160 changes: 143 additions & 17 deletions cli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-chipmunk"
version = "0.2.7"
version = "0.2.8"
authors = ["Ammar Abou Zor <[email protected]>"]
edition = "2021"
description = "CLI Tool for chipmunk application development"
Expand Down Expand Up @@ -33,6 +33,7 @@ serde = {version = "1.0", features = ["derive"]}
serde_json = "1.0"
glob = "0.3"
toml = "0.8"
dirs = "5.0"

[dev-dependencies]
tempdir.workspace = true
Expand Down
Loading
Loading