Skip to main content
  1. Posts/

Using Makefile as task runner

·83 words·1 min

In a routine work day life of a programmer there are many tasks that are running repetitively, especially when you deal with multiple programming languages.

How about running a magic command like Wubba Lubba Dub-Dub dev to fire a development server without hesitation?

This is how I do it in my laravel projects:

dev:

    @php artisan serve

Or This is how I do it in my javascript projects:

dev:

    @npm run dev

and both of them run with a singe command: make dev