Skip to content

Task to delete files from tree #5

@CurroRodriguez

Description

@CurroRodriguez

Story

As a developer, I want the ability to delete files that are generated, so they don't create conflicts in the future.

Description

The real motivation is to create a task that will delete *.pyc, which is important when running test continuously to insure that old *.pyc are not loaded during the execution of the tests. A specific task for *.pyc files can be implemented on top of a more generic one, so it is a good idea to have this generic task implemented first, and then specialize it for *.pyc files.

Acceptance Criteria

  • A root directory is specified.
  • A file pattern is specified.
  • Files in the root directory that match the specified pattern are deleted.

Tasks:

  • Register a new task delete-file.
  • Implement task.
  • Document behavior of task and configuration parameters.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions