melezhik / sparrow

Sparrow - script distribution platform for Linux OS
https://sparrowhub.org
77 stars 6 forks source link

Add yaml support for boxes #25

Closed spigell closed 6 years ago

spigell commented 6 years ago

It maybe useful when someone can't use sparrowDo, but need to keep tasks in one file.

melezhik commented 6 years ago

проверьте пож-та, примеры в документации

spigell commented 6 years ago

Здравствуйте! Спасибо, работает. Единственное, файлы с расширением yml не отрабатывают.

[vagrant@archlinux ~]$ sparrow box run ./test.yml 
sparrow root: [/home/vagrant/sparrow]
mkdir /home/vagrant/sparrow/plugins
unsupported task box spec format: ./test.yml at /usr/share/perl5/site_perl/Sparrow/Commands/TaskBox.pm line 44.

Кажется, здесь может быть опечатка - https://github.com/melezhik/sparrow/blob/ffb90a1235290e8bca68cf9d50b854a19bedada4/lib/Sparrow/Commands/TaskBox.pm#L39

melezhik commented 6 years ago

поправил

spigell commented 6 years ago

Спасибо.

melezhik commented 6 years ago

released at v. 0.3.3