Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check source and target are not the same #28

Closed
jayvdb opened this issue Jun 4, 2018 · 3 comments
Closed

Check source and target are not the same #28

jayvdb opened this issue Jun 4, 2018 · 3 comments

Comments

@jayvdb
Copy link
Member

jayvdb commented Jun 4, 2018

This is especially relevant for copy:, but also possible for targets:.

coala/coala-bears@51441bd added;

.ci/run_with_env.cmd: run_with_env.cmd

when .ci/ was in the template dirs, so the replacement was templating from the source file. As there was no jinja in that file, it copied identically every time, overwriting itself with itself.

configuration:
  template_dir:
    - .moban.dt/
    - .ci/
@chfw
Copy link
Member

chfw commented Jun 5, 2018

There exists such a functionality for targets. will transfer it over to copy function.

@chfw
Copy link
Member

chfw commented Jun 5, 2018

HashStore is the answer.

@jayvdb
Copy link
Member Author

jayvdb commented Jun 7, 2018

Probably worth making 'copy' a builtin template engine.

@chfw chfw mentioned this issue Jun 13, 2018
@chfw chfw closed this as completed in b2e94c9 Jun 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants