osl-incubator / makim

Make Improved
https://osl-incubator.github.io/makim/
BSD 3-Clause "New" or "Revised" License
8 stars 10 forks source link

Add an additional option for specifying a custom flag for prompt command #55

Closed xmnlab closed 7 months ago

xmnlab commented 9 months ago

Currently, makim can use any prompts/shells/interpreters that support -c for reading the command.

we need to support an option for custom flag for command.

example:

version: 1.0
env-file: .env
shell: php
shell-flag: "-f"
groups:
  php:
    targets:
      print:
        help: print 1
        run: |
           print('1')

the shell-flag should be applied from the 3 scopes when necessary: global, group or target the function/property to be changed is shell_args

xmnlab commented 9 months ago

actually, currently it is not running that with -c anymore, it runs the commands as a temporary file

xmnlab commented 8 months ago

It would be nice to ensure support for the following programming language/interpreter:

Additionally, we should have tests for each of them and have a section about the support for these interpreters in the documentation.

github-actions[bot] commented 7 months ago

:tada: This issue has been resolved in version 1.11.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: