~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to buildout.cfg

Fix yui directory issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
unzip = true
13
13
eggs-directory = eggs
14
14
download-cache = download-cache
 
15
yui-directory = yui
15
16
relative-paths = true
16
17
 
17
18
# Disable this option temporarily if you want buildout to find software
37
38
[yui]
38
39
recipe = plone.recipe.command
39
40
command =
40
 
    mkdir -p download-cache/../yui-${versions:yui} && \
 
41
    rm -rf ${buildout:yui-directory}/*
41
42
    tar -zxf download-cache/dist/yui-${versions:yui}.tar.gz \
42
 
        -C download-cache/../yui-${versions:yui} && \
 
43
        -C ${buildout:yui-directory} && \
43
44
    mkdir lazr-js/build && \
44
 
    ln -s ../../download-cache/../yui-${versions:yui}/yui lazr-js/build/yui
 
45
    ln -s ../../${buildout:yui-directory} lazr-js/build/yui
45
46
 
46
47
[filetemplates]
47
48
recipe = z3c.recipe.filetemplate