Skip to content

Add Makefile

Craig Smith requested to merge craigmsmith-add-makefile into main

What does this MR do?

When working with semgrep I found there were a number of commands I ran regularly, some of which are fairly long-winded (specifically running the rspec integration tests in a container).

To rely less on my bash history and make these commands more discoverable to other engineers, this MR adds a Makefile.

To run any of the commands, from your console from within the semgrep project:

make [task]

The tasks available in this MR are:

  • make build.image
  • make build.image-fips
  • make test.integration this command runs the build.image task first
  • make test.integration-fips this command runs the build.image-fips task first

What are the relevant issue numbers?

NA

Does this MR meet the acceptance criteria?

Edited by Craig Smith

Merge request reports