-
Notifications
You must be signed in to change notification settings - Fork 2
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
Adds #42 CPU printout #55
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice. Works well against real targets I tried as well as the simulator.
I think you should add some basic shellspec tests for these as well. They will be worth the effort.
- `spec` fails if the `spec/` directory exists, it needs to be declared as a `PHONY` or renamed (or both). - The commands for installing `shellspec` will fail on MacOS. Modify the instructions to key off of the running OS, installing it appropriately. - Rename `spec` to `shellspec-deps` to be more clear that this is just installing something - Updates the usage for the `Makefile`, includes the test and simulator items. - Updates the `.PHONY` list for all of the simulator items.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could add one more test for validating JSON output. Not holding this up though. It works nice in my testing.
Summary and Scope
Issue Type
Adds a new subcommand for printing out CPU information.
Additional changes:
MapPrint
function into separate, reusable functions in a newprint.go
file.Risks and Mitigations