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

Added makefile to rules engine #91

Merged
merged 5 commits into from
Oct 11, 2023
Merged

Added makefile to rules engine #91

merged 5 commits into from
Oct 11, 2023

Conversation

alanisaac
Copy link
Collaborator

I'm finding it's somewhat difficult to share pre-commit hooks in a project. In lieu of that directly, this makefile consolidates everything into one step, so developers do not have to remember all the commands in CI.

Run make all from the rules-engine folder and it will check everything that CI checks.

@jkwan2011
Copy link
Collaborator

Should we update CI to use Makefile to remove duplication?

@alanisaac
Copy link
Collaborator Author

Should we update CI to use Makefile to remove duplication?

Yeah, that's a good idea.

@alanisaac
Copy link
Collaborator Author

@jkwan2011 done

@alanisaac
Copy link
Collaborator Author

Nit: Rename to Makefile by convention

TIL: https://stackoverflow.com/a/12686411

Normally you should call your makefile either makefile or Makefile. (We recommend Makefile because it appears prominently near the beginning of a directory listing, right near other important files such as README.)

@alanisaac alanisaac merged commit 8b54855 into main Oct 11, 2023
8 checks passed
@alanisaac alanisaac deleted the makefile branch October 11, 2023 02:12
Copy link
Collaborator

@axiomizer axiomizer left a comment

Choose a reason for hiding this comment

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

I'm late to the party, but looks good to me

AdamFinkle pushed a commit to AdamFinkle/home-energy-analysis-tool that referenced this pull request May 22, 2024
* added makefile

* refactored github actions

* refactored github actions

* renamed make file
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.

3 participants