Mint icon indicating copy to clipboard operation
Mint copied to clipboard

Allow custom scripts in the Mintfile

Open dcarmo-tribalscale opened this issue 2 years ago • 0 comments

Feature Request:

It would be nice to be able to add run scripts to the Mintfile much like how npm allows custom script definitions in the packages.json. At the moment I supplement with a makefile, but it would be nice to remove another tool and just use Mint for it.

e.g.

Mintfile

# Help to generate the xcodeproj file
# https://github.com/yonaskolb/XcodeGen
yonaskolb/[email protected]

setup:
  mint bootstrap
  mint run xcodegen

xcodegen:
  mint run [email protected] --spec Shared/project.yml	
  mint run [email protected] --spec Database/project.yml
  mint run [email protected] --spec App/project.yml

run using

mint run setup

dcarmo-tribalscale avatar Oct 04 '22 15:10 dcarmo-tribalscale