Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to watch and build from different source directories #26

Open
eduardolundgren opened this issue Oct 16, 2012 · 2 comments
Open
Assignees

Comments

@eduardolundgren
Copy link
Member

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.

@ghost ghost assigned davglass Oct 17, 2012
@davglass
Copy link
Member

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.

@andrewnicols
Copy link
Contributor

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
Projects
None yet
Development

No branches or pull requests

3 participants