h5bp/ant-build-script — Issue #8: runnable build script from outside the build/ dir
Author: roblarsen
Created: 2012-02-04 13:33:29+00:00
State: open
Labels: new feature

from: https://github.com/h5bp/html5-boilerplate/issues/867

runnable build script from outside the build/ dir

It would probably be better to open another issue, but I'm doing it right here since I see it kinda related.

It would be cool to be able to run the build script from anywhere on the system. I'm not sure how it could be applied to the ant script but I'm thinking basically about some kind of executable wrapper around the build scripts (like an h5bp-build command).

The idea is to make it easier to run the build script on a variety of folder structure, and not necessarely from within an h5bp clone or download.

The scripts should know from where the command is run, and adjust relative paths accordingly. Doing so, it may provide a greater level of flexibility (combined with prompts, or local configuration).

The command may even include some scaffolding helper, by using the createproject.sh script.