Skip to content

Empower the Makefile capabilities built into Visual Studio Code — Run any command from the sidebar, run and watch tests by right clicking either on a file or folder

License

Notifications You must be signed in to change notification settings

Madmous/vscode-makefile-command-runner

Repository files navigation

VS Code Makefile Command Runner extension

Codeship Status for Madmous/vscode-makefile-command-runner Licence

Makefile Command Runner empowers the Makefile capabilities built into Visual Studio Code — Run any command from the sidebar, run and watch tests by right clicking either on a file or folder.

Settings Options

This extension contributes the following variables to the settings:

  • makefilePath: use this setting to set the file path of your Makefile, for example bin/local
  • unitTestCommand: use this setting to set the unit test command, for example unit-test-all
  • integrationTestCommand: use this setting to set the integration test command, for example integration-test
  • unitTestWatchCommand: use this setting to set the unit test watch command, for example unit-test-all-watch
  • integrationTestWatchCommand: use this setting to set the integration test watch command, for example integration-test-all-watch
  • filePathEnv: use this setting to set the file path environment variable used to pass down to node scripts the file path, for example FILE_PATH

Features

Commands view

Commands view

A view to visualize and explore Makefile commands

Explorer menu

Commands view

Adds "Run test" and "Run and watch test" in the explorer menu

  • Use right click to open the menu

How to use

  1. Locate your makefile path and name. Example for a makefile located in bin/make and named Makefile.main

  2. Open settings and update Makefile path and Makefile name

  3. Check the remaining settings and make sure you update them correctly according to your project

Commands view

About

Empower the Makefile capabilities built into Visual Studio Code — Run any command from the sidebar, run and watch tests by right clicking either on a file or folder

Resources

License

Stars

Watchers

Forks

Packages

No packages published