Permalink
Commits on Jan 28, 2011
  1. Bumping version up to 0.2.5

    yrashk committed Jan 28, 2011
  2. Now Agner will build rebar-incompatible packages provided they have '…

    yrashk committed Jan 28, 2011
    …build_command' property
  3. fetch --compile should also get dependencies for rebar packages, just…

    yrashk committed Jan 28, 2011
    … in case if there are any
  4. Upgraded rebar

    yrashk committed Jan 28, 2011
  5. Upgraded rebar

    yrashk committed Jan 28, 2011
  6. Merge branch 'optparse-handle-missing-arg' of https://github.com/jlou…

    yrashk committed Jan 28, 2011
    …is/agner into jlouis-optparse-handle-missing-arg
  7. Improve error handling, be meaningful on missing opt args.

    jlouis committed Jan 28, 2011
    When missing an option argument, the system normally died. This prints
    out a helpful error message in the event. It also slightly reorders
    the option parsing, so it takes place before the start()/stop()
    sequence. In principle this lets us bail out faster.
  8. Added 'help' command line command

    yrashk committed Jan 28, 2011
  9. Merge remote branch 'upstream/master' into cleanup-option-parsing-old

    jlouis committed Jan 28, 2011
    Conflicts:
    	src/agner.erl
  10. Make 'agner' output a useful usage listing.

    jlouis committed Jan 28, 2011
    Reap the benefits of the preceding commits: Output a usage list where
    the valid, supported, commands are included. Note that adding a
    command to the parser will automatically extend the usage output.
  11. Transform the command-line parser into data.

    jlouis committed Jan 28, 2011
    Rather than write code which acts as data, transform the code into
    data and write code acting on the data. This paves the way for
    outputting the commands in the usage.
  12. Don't use our own tmpfile(3) implementation

    jlouis committed Jan 28, 2011
    Even though the one in the stdlib is not much better.
  13. Gather option parsing into the parsing primitives.

    jlouis committed Jan 28, 2011
    Rather than have option parsing spread out over the command handler
    function, gather all calls into a single point. This means that all
    option parsing is now handled in one place.
  14. Split agner:main/1 into its constituents.

    jlouis committed Jan 28, 2011
    The agner:main/1 function actually did several things at once:
    
    * Provided parsing of command-line options
    * Provided handling of commands
    * Printed out general usage
    
    This change splits the concerns. First, we add a function to parse the
    command line options and internalize them. Next, we alter the
    command-handlers to match on the parsed variant. The change also
    allows us to hoist the start()/stop() invocation to main/1 and only do
    that in one place.
    
    Further, the change paves the way for a more consistent option parsing
    and argument handling further down the road.
  15. Fixed broken link in README.md

    yrashk committed Jan 28, 2011
  16. Internal change: finally renamed branch versions to flavours and tag …

    yrashk committed Jan 28, 2011
    …versions to release versions to match the actual glossary.
  17. Use ?SERVER macro in agner_server

    yrashk committed Jan 28, 2011
  18. Merge branch 'cleanup-gen-servers' of https://github.com/jlouis/agner

    yrashk committed Jan 28, 2011
    …into jlouis-cleanup-gen-servers
  19. Hint Emacs that the Tab Stop of the files are 4 spaces.

    jlouis committed Jan 28, 2011
    I default the tab-size to 8 here - and many other will do the same. To
    avoid trouble, we simply hint Emacs what the intended size of a tab is
    (4) and let it handle tabs and spaces. It also opens for dropping more
    settings to coerce Emacs into being nice.