Source

dragonfly-stp-1 / build.vel

The protocol-3 branch has multiple heads

# This is the build spec for Dragonfly
# Most of the settings are set in dragonfly.vel
# See readme.txt for more information

imports [
    recipe(from 'dragonfly' as 'config')
]

# These are configuration options for building.
# Depending on which build operations you want to use you might have to
# adjust them.

options (
    default "client"
    config.sourcedir "src"
    config.builddir "build"
    config.packagedir "pkg"
)

depends (
    weekly ['package.raw' 'package.concat' 'jsdoc.generate' 'jsdoc.archive']
    client ['client.build' 'jsdoc.build']
    jsdoc ['jsdoc.build' 'jsdoc.upload']
)

targets (
    weekly [
    
    ]

    client.build [
        $ %(config.python)s tools/dfbuild.py -d %(config.sourcedir)s %(config.builddir)s/client 
    ]

    client.build.raw [
    
    ]
    
    client.package [
    
    ]
    

    jsdoc [
    

    ]

    jsdoc.build [
        given 'os.path.isfile("%(config.jsdoc)s")'
        $ %(config.perl)s %(config.jsdoc)s -q -r --no-sources --project-name="%(config.project)s" -d %(config.builddir)s/jsdoc %(config.sourcedir)s
    ]

    jdoc.package [
        log "Packaging jsdoc.."
    ]


    requirements [
        given 'os.path.isfile("%(config.perl)s")'
        log 'Found perl!'
        given 'os.path.isfile("%(config.jsdoc)s")'
        log 'Found jsdoc!'
        
    ]


)