Ability to watch and build from different source directories #26

Open
eduardolundgren opened this Issue Oct 16, 2012 · 2 comments

Comments

Projects
None yet
3 participants

I want to have a /project/src/ folder with my project modules and have a /project/yui3/src with the source code for YUI modules.

Shifter should be able to handle both folders during build and watch.

davglass was assigned Oct 17, 2012

Owner

davglass commented Oct 17, 2012

I'm not totally sure on this one, what are you expecting shifter to do here?

You "could" add a custom "postexec" to your global config, that would then call shifter in a sub directory.

Something like this:

{
    "name": "foo",
    "postexec": [
          "./buildyui.sh"
    ],
    "builds": {

    }
}

Then in buildyui.sh (or js).

cd ../yui3/src/loader;
shifter

Or something along those lines, then when you --watch the foo build, after it's done it will execute the postexec and build what you need in yui.

Contributor

andrewnicols commented Dec 5, 2012

I've just noticed this issue - this may now be possible with the --recurse option we just added in #50

On the other hand, I may be completely misunderstanding the use-case here ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment