Skip to content
This repository was archived by the owner on Aug 25, 2021. It is now read-only.
This repository was archived by the owner on Aug 25, 2021. It is now read-only.

Simple File Mapping Not Working #11

@manishie

Description

@manishie

Hi,

(Thanks for the plugin!).

I want to use grunt-newer, and it seems to only work with simple file mapping. So in grunt-haml-php I'm trying to get that setup. If I follow your example:

haml: {
  files: {
    'templates/head.php': ['assets/haml/head.haml'],
  }
}

the task won't run. Adding in an extra level to the hierarchy (per one of the other comments) sort of works:

haml: {
  compile: {
    files: {
      'templates/head.php': ['assets/haml/head.haml'],
    }
  }
}

The task runs, but the file names come out wrong:

Running "haml:compile" (haml) task
File templates/head.phphead.php created.

So the filename gets duplicated. Any ideas?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions