Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Makefile Command RunnerNew to Visual Studio Code? Get it now.

Makefile Command Runner

madmous

|
11,327 installs
| (0) | Free
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
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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 exmample unit-test-all
  • integrationTestCommand: use this setting to set the integration test command, for exmample integration-test
  • unitTestWatchCommand: use this setting to set the unit test watch command, for exmample unit-test-all-watch
  • integrationTestWatchCommand: use this setting to set the integration test watch command, for exmample 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

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft