CrossClj

0.3.1 docs

SourceDocs



RECENT
    VARS
    buildmod
    conf-dir
    conf-file-path
    entry-points
    home-dir
    invoke-vertx
    libs
    make-classpath
    modjson-path
    mods-dir
    outfile
    potential-entry-points
    sh-command
    synthesize-main
    trim-leading-str
    verticlize
    vertx-deps-project
    write-main
    write-mod-json
    write-zip

    « Index of all namespaces of this project

    (buildmod project main-fn & args)
    Generate a zip file for the vertx module
    
    (conf-dir)
    Returns the vertx conf dir inside home-dir.
    
    (conf-file-path f)
    Looks up the path for the given conf file.
     TODO: support looking at the project's classpath first, to allow
    the file to be overridden on a per-project basis.
    (entry-points project root-dir)
    Files to be copied into module's classpath.
    
    (home-dir)
    Returns the home-dir for the plugin, creating if necessary.
    The home-dir defaults to ~/.lein/lein-vertx, and is used to store
    downloaded modules and vertx config.
    (invoke-vertx project & args)
    Invokes vertx in the given project.
    
    (libs project)
    Resolve dependencies jars of the project.
    
    (make-classpath project)
    Creates a classpath for the subprocess.
    It consists of:
    * the classpath for the project
    * the plugin conf-dir
    * the vertx jars
    (modjson-path project)
    (mods-dir)
    Returns the vertx mods dir inside home-dir.
    
    (outfile project)
    (potential-entry-points project)
    (sh-command project args)
    Generates the command for the subprocess.
    
    (synthesize-main fn)
    Creates a verticle main that requires the ns for fn, and invokes fn.
    
    (trim-leading-str s to-trim)
    (verticlize main)
    Convert namespaced function name into a verticle name
    
    Dummy project used to resolve vertx deps for the classpath of the subprocess
    
    (write-main project main)
    Writes out a verticle main to the compile-path that will invoke [:vertx :main] from project.
    
    (write-mod-json project verticle)
    Write module descriptor file to mod.json in target-path
    
    (write-zip outfile filespecs)