Fork me on GitHub
#perun
<
2016-11-02
>
martinklepsch00:11:06

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

Matthew Davidson (kingmob)00:11:36

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

martinklepsch00:11:46

@kingmob no worries, can be complicated at times 🙂

Matthew Davidson (kingmob)00:11:26

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

martinklepsch00:11:04

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

Matthew Davidson (kingmob)00:11:48

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

Matthew Davidson (kingmob)00:11:02

So it kept rendering to /public

martinklepsch00:11:11

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

martinklepsch00:11:36

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 🙂

Matthew Davidson (kingmob)00:11:00

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

martinklepsch00:11:36

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

Matthew Davidson (kingmob)00:11:55

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

martinklepsch00:11:55

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

martinklepsch00:11:23

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

Matthew Davidson (kingmob)00:11:59

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

Matthew Davidson (kingmob)00:11:52

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

Matthew Davidson (kingmob)00:11:04

Thanks for your help, though! Like your blog

martinklepsch01:11:59

@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 🙂