perun

Discuss perun static site generator
martinklepsch 2016-11-02T00:01:06.000128Z

@kingmob you can use sift to move the contents of public/ into the root of the fileset

kingmob 2016-11-02T00:01:36.000131Z

OK, I’ll check that out. Sorry, I’m a boot newbie

martinklepsch 2016-11-02T00:01:46.000132Z

@kingmob no worries, can be complicated at times 🙂

kingmob 2016-11-02T00:02:26.000133Z

Uhh, do I still need a target task if I use sift?

martinklepsch 2016-11-02T00:02:30.000134Z

yeah

martinklepsch 2016-11-02T00:03:04.000135Z

If I understood correctly you managed to put the fileset contents into .by using target -C -d?

kingmob 2016-11-02T00:04:48.000136Z

Sort of. That only eliminated the “target” directory, but I couldn’t figure out how to have a blank out-dir

kingmob 2016-11-02T00:05:02.000137Z

So it kept rendering to /public

martinklepsch 2016-11-02T00:05:11.000138Z

I see, yeah, so in that case my suggestion should be fine

martinklepsch 2016-11-02T00:05:36.000139Z

In any case this is sort of the "boundaries of boot" so if you end up shelling out and running some random shell cmd I wouldn't worry about it too much 🙂

kingmob 2016-11-02T00:06:00.000140Z

I don’t see a (target) task in your build.boot file, it goes straight from sift to sync-bucket...

martinklepsch 2016-11-02T00:06:36.000141Z

yeah, I do some other things there but that's not super relevant right now

kingmob 2016-11-02T00:06:55.000142Z

I looked at http://deraen.github.io, since I saw he was publishing to gh pages, and saw he was messing around with a shell script that built, checedk out into a subdir, pushed, etc

martinklepsch 2016-11-02T00:06:55.000143Z

(I sync the fileset contents to S3 which serves as backend for my static site)

martinklepsch 2016-11-02T00:07:23.000144Z

yeah so given that you might need to do that git stuff anyways maybe it's not to bad to just use a shell script

kingmob 2016-11-02T00:09:59.000145Z

OK. Pure sift didn’t work. I’ll play around some more.

kingmob 2016-11-02T00:10:52.000146Z

Really annoying GH Pages wants to serve from the root...

kingmob 2016-11-02T00:11:04.000147Z

Thanks for your help, though! Like your blog

martinklepsch 2016-11-02T01:01:59.000148Z

@kingmob I'd suggest to just run with some shell script 😄 esp. for GH Pages that just seems to be the way to go anyways 🙂