Skip to content

Commit

Permalink
build cli updated to set network value
Browse files Browse the repository at this point in the history
  • Loading branch information
wpdas committed Apr 24, 2024
1 parent 6b7bbf5 commit 18bd484
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Build the workspaces
run: |
cd "$WORKSPACE_DIRECTORY"
alem build
alem build --network testnet
- name: Deploy widgets (using bos-cli-rs)
run: |
Expand Down
5 changes: 5 additions & 0 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ async function run() {
program
.command("build")
.description("Build the project")
.option(
"-n, --network <network>",
"Network where the app will be running",
"mainnet",
)
.action((opts) => {
build_with_log(opts).catch(console.error);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alem",
"description": "Create web3 applications for NEAR BOS with a focus on performance and friendly development.",
"version": "1.0.0-beta.28",
"version": "1.0.0-beta.29",
"main": "main.js",
"types": "index.d.ts",
"author": "Wenderson Pires - wendersonpires.near",
Expand Down

0 comments on commit 18bd484

Please sign in to comment.