📋
pimp
  • Home
  • Installation
  • FAQ
  • Getting Started
    • Welcome
    • Expand commands
    • Run tasks
    • Render templates
    • Execute scripts
    • Next steps
  • User Guide
    • Pimpfile
    • Configuration File
    • Command Expander
    • Task Runner
    • Template Engine
      • Functions
    • Script Engine (PimpScript)
    • Go Library
  • Integrations
    • Bash, Zsh, Fish
Powered by GitBook
On this page
  1. Getting Started

Run tasks

PreviousExpand commandsNextRender templates

Last updated 4 years ago

Similar to expanding commands, you can use to run tasks anywhere on your system.

For example, you might want to run tests in your Go project. To do so create a Pimpfile in your project with the following content:

# ./Pimpfile
test: go test -v ./...

Now you can execute pimp test, it will perform an exact match to the test command and execute go test -v ./.... Note that the local Pimpfiles take precedence over your global Pimpfile in case the same command would be defined twice.

Read more about the in the documentation.

Next, let's see how you can actually render template files.

Pimpfiles
Task Runner