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

Move CLI script to .sh file #2893

Merged
merged 1 commit into from
Jul 27, 2021
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
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
run: yarn build
if: steps.cache-deps.outputs.cache-hit == 'true'
# </common-build>
- name: Test root binary exists
run: ./lodestar --version
- name: Check Types
run: yarn run check-types
- name: Lint
Expand Down
1 change: 0 additions & 1 deletion lodestar

This file was deleted.

7 changes: 7 additions & 0 deletions lodestar
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

# Convenience script to run the lodestar binary from built source
#
# ./lodestar.sh beacon --network prater

node --trace-deprecation --max-old-space-size=6144 ./packages/cli/bin/lodestar "$@"
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"test:spec-main": "lerna run test:spec-main --no-bail",
"benchmark": "node --max-old-space-size=4096 -r ts-node/register -r ./packages/lodestar/test/setup.ts ./node_modules/.bin/benchmark 'packages/*/test/perf/**/*.test.ts'",
"benchmark:local": "yarn benchmark --local",
"cli": "node --trace-deprecation --max-old-space-size=8192 ./packages/cli/bin/lodestar",
"publish:release": "lerna publish from-package --yes --no-verify-access",
"release": "lerna version --no-push --sign-git-commit",
"postrelease": "git tag -d $(git describe --abbrev=0)",
Expand Down