all repos — pls @ master

A polite but determined task runner.

b86933c0
Fixed readme.
h3rald h3rald@h3rald.com
Sat, 12 Aug 2023 03:01:32 +0000
442f394a
Added description
h3rald h3rald@h3rald.com
Fri, 11 Aug 2023 02:18:09 +0000
bcd5b586
Merge branch 'master' of github.com:h3rald/pls
h3rald h3rald@h3rald.com
Sat, 22 Apr 2023 10:52:18 +0000

Nimble

Release License Build Status

pls — A polite but determined task runner

pls is a simple, general-purpose task runner that aims at making common tasks easier to manage and execute. It was inspired by some of the functionalities provided by the nifty package manager, only without the package manager part.

Main Features

pls can be used to:

Hello, World!

Here’s minimal but quite comprehensive example of how everything works with pls. Given the following pls.yml file (placed in $HOME or in %USERPROFILE% on Windows):

things:
  home:
    value: /home/h3rald
  bin:
    value: {{home.value}}/bin
  self:
    value: {{home.value}}/dev/pls
    exe: pls
    config: {{home.value}}/pls.yml
    nimble: true
actions:
  config:
    config: vim {\{config}}
  build:
    nimble+value: cd {\{value}} && nimble build -d:release
  publish:
    exe+value: cd {\{value}} && $(cp "{\{exe}}" "{{bin.value}}") &
deps:
  publish self:
    - build self

It will be possible to run the following command to build the pls program itself and copy it to the /home/h3rald/bin:

pls publish self

Similarly, to edit the pls.yml file using Vim, it will be sufficient to run:

pls config self

More Information

For more information on how to configure and use pls, see the Pls User Guide.

clone
git clone https://code.h3rald.com/pls
        

contribute on