Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

Feature request: bem create --force param #3

Closed
mishanga opened this issue Jul 20, 2011 · 2 comments
Closed

Feature request: bem create --force param #3

mishanga opened this issue Jul 20, 2011 · 2 comments
Labels

Comments

@mishanga
Copy link
Contributor

%.html: %.bemhtml.js %.css %.js
$(call BEM_CREATE,bem-bl/blocks-desktop/i-bem/bem/techs/html.js)

bem create выдаёт ошибку "File already exists". Спасает "rm $@" в мейк-файле. Но удаление — плохая практика, т.к. новый файл может не собраться.
Хорошо бы иметь ключик --force (-f) для принудительного перезаписывания файла цели в случае успешной генерации.

@varya
Copy link

varya commented Jul 20, 2011

Хорошо, сделаем.

@arikon
Copy link
Contributor

arikon commented Oct 30, 2011

Сделано в версии 0.1.0

@arikon arikon closed this as completed Oct 30, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants