Permalink
Commits on Jan 31, 2013
  1. Add source form location in script comments

    hugoduncan committed Jan 28, 2013
    When generating script, insert the file and line of the source forms that
    generate the script.  The file and line are inserted as comments on the line
    preceding the generated code.  This is a convenient format that allows script
    lines to be easily used in continuation lines, when chaining commands together
    for instance.
    
    Introduces pallet.stevedore/fragment, which is similar to p.s/script, except
    that it disables source comments and ensures pipelines are kept on a single
    line.  This is required in some expansion contexts.
    
    The pallet.stevedore/with-source-line-comments macro can also be used to control
    the output of source comments when using p.stevedore/script.
Commits on Jan 28, 2013
  1. Add a marker to messages for script exit status

    hugoduncan committed Jan 28, 2013
    In order to allow grep'ing for status messages, a prefix is added to each
    message. By default, prefix script exit status messages by '#> '.  The prefix
    may be altered by binding pallet.stevedore.common/*status-marker*.
Commits on Jan 27, 2013
  1. Ensure propagation of metadata on stevedore forms

    hugoduncan committed Jan 27, 2013
    We correctly propagate :line metadata, and add :file metadata, to each stevedore source form
    and use it in exceptions.  Removes use of slingshot and forces clojure 1.4+.
  2. Update project version and dependencies

    hugoduncan committed Jan 27, 2013
    Also changes to use dev-resources instead of test-resources, to match lein2
    conventions.
Commits on Dec 13, 2012
Commits on Nov 22, 2012
Commits on May 18, 2012
  1. Update to parent-pom 0.1.3

    hugoduncan committed May 18, 2012
Commits on Apr 23, 2012
  1. Switch parent pom from pallet-pom to parent-pom

    hugoduncan committed Apr 23, 2012
    Logically, stevedore does not depend on pallet's pom in any way
Commits on Apr 12, 2012
  1. Simplify conditional generation

    hugoduncan committed Apr 12, 2012
    The conditional expressions were overly complex and could generate incorrect
    code in some corner cases. This simplifies the generated expressions and
    makes them more robust
Commits on Apr 7, 2012
  1. Create a :default implementation for stevedore/emit

    hugoduncan committed Apr 7, 2012
    Improve the error reporting associated with not binding *script-language* and for
    un-handled clojure types.
Commits on Feb 13, 2012
Commits on Jan 19, 2012
  1. Update slingshot version

    hugoduncan committed Jan 19, 2012
Commits on Nov 30, 2011
  1. Remove superfluous do

    hugoduncan committed Nov 30, 2011