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

Feature/rs cli #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"nuxt.isNuxtApp": false
}
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,8 @@ test: ## Test program
.PHONY: upgrade
upgrade: build ## Upgrade program
anchor upgrade -p $(program_id) --provider.cluster $(cluster) ./target/deploy/$(program).so

.PHONY: rs-cli-build
rs-cli-build:
cd packages/rs-cli
cargo build
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"packageManager": "pnpm@7.8.0",
"scripts": {
"lint:fix": "eslint --cache --fix --ext .js,.vue,.ts ./packages/*/{src}/**",
"cli": "ts-node packages/cli/src/index.ts"
"cli": "ts-node packages/cli/src/index.ts",
"rs-cli": "packages/rs-cli/target/debug/rs-cli"
},
"dependencies": {
"@project-serum/anchor": "^0.25.0",
Expand Down
1 change: 1 addition & 0 deletions packages/rs-cli/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
3 changes: 3 additions & 0 deletions packages/rs-cli/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"nuxt.isNuxtApp": false
}
Loading