Changelog

0.0.33#

  • [Added] Allow templating in command options directive docs

0.0.32#

  • [Fixed] Publish lets to homebrew

0.0.30#

  • [Added] Build lets for arm64 (M1) arch
  • [Deleted] Drop 386 arch builds
  • [Added] Publish lets to homebrew
  • [Added] --upgrade flag to make self-upgrades

0.0.29#

  • [Added] after directive to command. It allows to run some script after main cmd

    commands:
    run:
    cmd: docker-compose up redis
    after: docker-compose stop redis
  • [Added] before global directive to config. It allows to run some script before each main cmd

    before: |
    function @docker-compose() {
    docker-compose --log-level ERROR $@
    }
    commands:
    run:
    cmd: @docker-compose up redis
  • [Added] ignored minixs It allows to include mixin only if it exists - otherwise lets will ignore it. Useful for git-ignored files.

    Just add - prefix to mixin filename

    mixins:
    - -my.yaml
    commands:
    run:
    cmd: docker-compose up redis

0.0.28#

  • [Fix] Added environment variable value coercion.

    commands:
    run:
    env:
    VERBOSE: 1
    cmd: docker-compose up

    Before 0.0.28 release this config vas invalid because 1 was not coerced to string "1". Now it works as expected.

0.0.27#

  • Added -E (--env) command-line flag. It allows to set(override) environment variables for a running command. Example:

    # lets.yaml
    ...
    commands:
    greet:
    env:
    NAME: Morty
    cmd: echo "Hello ${NAME}"
    ...
    lets -E NAME=Rick greet
  • Changed behavior of persist_checksum at first run. Now, if there was no checksum and we just calculated a new checksum, that means checksum has changed, hence LETS_CHECKSUM_CHANGED will be true.