Merge pull request #24 from premake/editorconfig

Added .editorconfig file (http://editorconfig.org/)
This commit is contained in:
starkos 2015-04-06 15:46:46 -04:00
commit 47aa42ee09
2 changed files with 10 additions and 1 deletions

9
.editorconfig Normal file
View File

@ -0,0 +1,9 @@
root = true
[*]
indent_style = tab
indent_size = 4
tab_width = 4
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8

View File

@ -118,7 +118,7 @@
for _, name in ipairs { ".git" } do
os.rmdir(path.join(module, name))
end
for _, name in ipairs { ".DS_Store", ".git", ".gitignore", ".gitmodules", ".travis.yml" } do
for _, name in ipairs { ".DS_Store", ".git", ".gitignore", ".gitmodules", ".travis.yml", ".editorconfig" } do
os.remove(path.join(module, name))
end
end