Created
November 13, 2014 19:54
-
-
Save esben/bf52cbce3ff84cf1ddfb to your computer and use it in GitHub Desktop.
Inspiration for XD-build core task description and structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch = Task() | |
fetch.mount('/task/fetch', '%s/%s'%(FETCH_BASEDIR, FETCH_SUBDIR)) | |
unpack = Task() | |
unpack.after('fetch') | |
unpack.mount('/task/fetch', '%s/%s'%(FETCH_BASEDIR, FETCH_SUBDIR), ro=True) | |
unpack.capture('/task/src') | |
configure = Task() | |
configure.after('fetch') | |
def do_configure(): | |
print('do_configure') | |
configure = do_configure | |
configure.capture('/task/build') | |
compile = Task() | |
compile.after(['configure']) | |
def do_compile(): | |
print('do_compile') | |
compile = do_compile | |
compile.capture('/task/build') | |
install = Task() | |
install.after('compile') | |
install.capture('/task/install') | |
package = Task() | |
package.after('install') | |
package.export('/task/package', '%s/%s'%(PACKAGE_BASEDIR, PACKAGE_SUBDIR)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment