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

Standardise and clean up Makefile #5025

Merged
merged 7 commits into from
Sep 11, 2019
Merged

Conversation

alessio
Copy link
Contributor

@alessio alessio commented Sep 10, 2019

Snake-case names are abandoned in favor of
kebab-case naming convention.

Remove goimports from tools.

Ref: cosmos/gaia#120

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote tests
  • Updated relevant documentation (docs/)
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the github PR explorer

For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

Alessio Treglia added 3 commits September 10, 2019 16:01
Use check- prefix for test- targets to adhere to
Make's standard naming convention [1].

Snake-case names are abandoned in favor of
kebab-case naming convention.

[1] https://www.gnu.org/prep/standards/html_node/Standard-Targets.html
@alessio alessio changed the title WIP: Standardise and clean up Makefile Standardise and clean up Makefile Sep 10, 2019
@codecov
Copy link

codecov bot commented Sep 10, 2019

Codecov Report

Merging #5025 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #5025      +/-   ##
=========================================
+ Coverage    55.5%   55.5%   +<.01%     
=========================================
  Files         287     287              
  Lines       17538   17540       +2     
=========================================
+ Hits         9734    9736       +2     
+ Misses       7104    7103       -1     
- Partials      700     701       +1

@alessio alessio marked this pull request as ready for review September 10, 2019 15:39
@alessio alessio added the R4R label Sep 10, 2019
@@ -78,35 +78,35 @@ jobs:
executor: golang
steps:
- make:
target: test_sim_nondeterminism
target: test-sim-nondeterminism
description: "Test individual module simulations"

test_sim_import_export:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should update these too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fede, if I renamed workflow steps CI would fail. I'd propose to normalise the Makefile targets only in the context of this PR. Does that work for you?

Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK ⚡️

@alexanderbez
Copy link
Contributor

@alessio do you mind fixing CI?

@alessio
Copy link
Contributor Author

alessio commented Sep 11, 2019

CI is fixed. Merging is blocked because CircleCI build needs manual intervention as this PR amends the build configuration

@jackzampolin jackzampolin merged commit 849e2fb into master Sep 11, 2019
@jackzampolin jackzampolin deleted the alessio/standardize-makefile branch September 11, 2019 15:13
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.

4 participants