skx / deployr

A simple golang application to automate the deployment of software releases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow copying directories

skx opened this issue · comments

Right now:

 CopyFile blah/1.conf /etc/blah/conf.d/1.conf
 CopyFile blah/2.conf /etc/blah/conf.d/2.conf
 CopyFile blah/3.conf /etc/blah/conf.d/3.conf

Would be better if I could allow:

 CopyFile blah/ /etc/blah/conf.d/

This is a compromise because allowing looping-constructs would solve this problem, but that would be a considerable rise in complexity.