Skip to content

stack dsl #20

Description

@tj

just realized it doesn't really make sense to use commits at the command level in some cases, for example:

mkdir /tmp/redis
curl -L# http://download.redis.io/releases/redis-stable.tar.gz | tar -zx --strip 1 -C /tmp/redis
cd /tmp/redis && make install

If you were to change the release tarball it would re-execute but make install would not, so what we really need is:

redis {
  tmp {
    curl -L# http://download.redis.io/releases/redis-stable.tar.gz | tar -zx --strip 1
    make install
  }
}

where "redis {}" is the stack and "tmp {}" is just an example directive

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions