Using Makefile to Simplify Project Checks
Silvio Ubaldino
Fullstack Software Engineer | Backend Developer | Golang | Java | Microservices | SQL | NoSQL | React | Docker | AWS
In this article, I’ll explain how I use Makefile to streamline some routine checks in my projects. Makefile is a simple and powerful tool that helps automate repetitive tasks, commonly used in build and compilation processes. With its straightforward syntax, it allows you to define commands and workflows, making everyday tasks faster and more efficient.
Some steps I often include in my Makefile are:
With this configuration, you can trigger the test command by simply running make test, or even include it in a pipeline of sequential commands.
For example, running Go tests with specific tags can be streamlined like this:
go test -shuffle=on -race -timeout=30s ./...
Makefile helps keep these commands consistent and easier to execute, improving your workflow.
Good tips!
Senior .NET Software Engineer | Senior Full Stack Developer | C# | .Net Framework | Azure | React | SQL | Microservices
2 个月Great article! Thanks for sharing!
Data Engineer | Azure | Azure Databricks | Azure Data Factory | Azure Data Lake | Azure SQL | Databricks | PySpark | Apache Spark | Python
2 个月Great Content ! thanks for sharing !
Senior Software Engineer | Backend-Focused Fullstack Developer | .NET | C# | Angular | TypeScript | JavaScript | Azure | SQL Server
2 个月Nice post Silvio Ubaldino, thanks for sharing!