Le 14/09/2015 19:24, Ben Coman a écrit : > > Thanks Peter. > > It would be nice if Pillar was more flexible in this regard. For Hi :)
With the version 1.0.0 of Pillar you have the possibility to use "outputDirectory" and the "support" parameters. The first will will generate the files into a new folder and the second will copy a list of files if the outputDirectory ~= baseDirectory. You can take a look at the documentation of EnterprisePharo (don't forget to take the last version for Pillar 1.0.0 or later: https://ci.inria.fr/pharo-contribution/view/Books/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/PillarChap/Pillar.html). You can also check the configuration of Enterprise Pharo or PharoMooc to get a concrete example. (https://github.com/SquareBracketAssociates/EnterprisePharo/blob/master/pillar.conf -- https://github.com/SquareBracketAssociates/PharoMooc/blob/master/pillar.conf) Ecstatic doesn't use that for now because we don't have the time to update it but Pillar can do it. > background, I am looking into Ecstatic to generate a static web site > from Pillar files hosted on GitHub Pages. This is constrained to > serve html files out of the base directory of the branch tagged > "gh-pages". So I want to generate html files into the root folder, > from pillar files in a subdirectory "_sitesrc". > > I have got as far as getting interested in this line... > PrExportPhase>>writeAll:using: > ... outputFile := (file relativeTo: self configuration > baseDirectory) withExtension: aWriter fileExtension. > > [1] https://help.github.com/articles/user-organization-and-project-pages/ > > cheers -ben > -- Cheers Cyril
signature.asc
Description: OpenPGP digital signature