Skip to content

Commit 2604375

Browse files
committed
Add Makefile target 'publish_dry_run' to simulate publishing the Rust+Typescript libraries.
1 parent 0e903dd commit 2604375

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,12 @@ test: ## runs tests
3838
fix: ## auto-fixes (some) linter issues
3939
cargo fix --allow-dirty --allow-staged
4040
cargo clippy --fix --allow-dirty --allow-staged
41+
42+
.PHONY: publish_dry_run
43+
publish_dry_run: ## dry run of publishing libraries to crates.io and JSR
44+
echo "\033[1;35m[Packaging Rust]\033[0m"
45+
cargo publish --dry-run
46+
cargo package --list
47+
echo "\033[1;35m[Packaging Typescript]\033[0m"
48+
deno publish --dry-run --allow-dirty
49+
echo "\033[1;35m[Finished Dry-Run Publish]\033[0m"

0 commit comments

Comments
 (0)