tests/manual.t @ 2693d5c857a5 v1.1.0

Remove extra padding in task files to aid in merging.
author Steve Losh <steve@dwaiter.com>
date Sun, 03 Oct 2010 18:47:03 -0400
parents a882490073a1
children 7cbbec2d86e1
Setup:

  $ alias xt="python $TESTDIR/../t.py --task-dir `pwd` --list test"

Create a task file manually (no IDs):

  $ cat >> test << EOF
  > Sample one.
  > Sample two.
  > EOF
  $ xt
  7 - Sample two.
  3 - Sample one.

Add some manual tasks:

  $ echo 'Custom one. | id: custom1' >> test
  $ echo 'Custom two. | id: custom2' >> test
  $ xt
  7       - Sample two.
  custom1 - Custom one.
  3       - Sample one.
  custom2 - Custom two.

Rewrite the task file:

  $ cat > test << EOF
  > New.
  > EOF
  $ xt
  5 - New.