juxt

Yehonathan Sharvit 2017-04-25T08:44:09.838837Z

A question related to mach

Yehonathan Sharvit 2017-04-25T08:44:23.842758Z

is there a way to template product creation?

Yehonathan Sharvit 2017-04-25T12:51:37.729951Z

?

jonpither 2017-04-25T13:50:28.122749Z

hi @viebel

jonpither 2017-04-25T13:50:47.131052Z

could you elaborate your requirement? Not sure what you mean about template product creation

Yehonathan Sharvit 2017-04-25T13:57:47.323849Z

I have two products a.html and b.html created with the same command to be executed on a.adoc and b.adoc. For the moment I am duplicating the entries in Machfile.edn

presentation.html {product "presentation.html"
                    depends [asciidoctor-deck.js deck.js]
                    novelty (mach.core/modified-since product "presentation.adoc")
                    update! #$ ["bundle install && bundle exec asciidoctor -T templates/haml presentation.adoc"]}
polymorphism.html {product "polymorphism.html"
                    depends [asciidoctor-deck.js deck.js]
                    novelty (mach.core/modified-since product "polymorphism.adoc")
                    update! #$ ["bundle install && bundle exec asciidoctor -T templates/haml polymorphism.adoc"]}}

Yehonathan Sharvit 2017-04-25T13:58:30.343534Z

Is there a better way?

dominicm 2017-04-25T14:06:43.582170Z

@jonpither basically: how do extensions work in latest mach

jonpither 2017-04-25T16:18:58.508770Z

Will comment shortly... changing trains.