Browse Source

Add dotfiles and more binaries to .gitignore generated by helper.py.

tags/v2.6.1
Andrew Belt 1 month ago
parent
commit
b9edfe30e8
1 changed files with 11 additions and 5 deletions
  1. +11
    -5
      helper.py

+ 11
- 5
helper.py View File

@@ -138,12 +138,18 @@ void init(Plugin* p) {
with open(os.path.join(plugin_dir, "src/plugin.cpp"), "w") as f: with open(os.path.join(plugin_dir, "src/plugin.cpp"), "w") as f:
f.write(plugin_cpp) f.write(plugin_cpp)


git_ignore = """/build
git_ignore = """# Ignore all dotfiles except git dotfiles
.*
!.git*

# Binaries and build targets
*.a
*.so
*.dylib
*.dll
/build
/dep
/dist /dist
/*.so
/*.dylib
/*.dll
.DS_Store
""" """
with open(os.path.join(plugin_dir, ".gitignore"), "w") as f: with open(os.path.join(plugin_dir, ".gitignore"), "w") as f:
f.write(git_ignore) f.write(git_ignore)


Loading…
Cancel
Save