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

Morpheus scripts - allow absolute paths via arg #1426

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RodrigoVillar
Copy link
Collaborator

This PR removes the necessity for certain scripts in MorpheusVM to be called from the MorpheusVM directory by allowing for a path argument to be passed in when executing these scripts. For scripts that previously had this requirement, they first check a path argument is passed in and if so, attempt to cd into the directory (exiting if unable to do so).

Example

To utilize scripts/tests.integration.sh from anywhere, one would run the following

./tests.integration.sh $GOPATH/src/github.com/ava-labs/hypersdk/examples/morpheusvm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant