Add language specific files to gitignore

This commit is contained in:
William S Fulton 2015-04-25 23:57:50 +01:00
commit 3f8034395b

81
.gitignore vendored
View file

@ -101,31 +101,9 @@ Doc/Manual/SWIGDocumentation.html
Doc/Manual/SWIGDocumentation.pdf Doc/Manual/SWIGDocumentation.pdf
Doc/Manual/*.book Doc/Manual/*.book
# Test Suite Generated Files # SWIG common generated files
Examples/test-suite/allegrocl/*/
Examples/test-suite/cffi/*/
Examples/test-suite/chicken/*/
Examples/test-suite/clisp/*/
Examples/test-suite/csharp/*/
Examples/test-suite/d/*/
Examples/test-suite/go/*/
Examples/test-suite/guile/*/
Examples/test-suite/java/*/
Examples/test-suite/javascript/*/
Examples/test-suite/lua/*/
Examples/test-suite/mzscheme/*/
Examples/test-suite/ocaml/*/
Examples/test-suite/octave/*/
Examples/test-suite/perl5/*/
Examples/test-suite/php/*/
Examples/test-suite/pike/*/
Examples/test-suite/python/*/
Examples/test-suite/r/*/
Examples/test-suite/ruby/*/
Examples/test-suite/scilab/*/
Examples/test-suite/tcl/*/
Examples/test-suite/uffi/*/
*_wrap.c *_wrap.c
*_wrap.cpp
*_wrap.cxx *_wrap.cxx
*_wrap.h *_wrap.h
*-gypcopy.cxx *-gypcopy.cxx
@ -138,37 +116,70 @@ Examples/scratch
########## Language specific files ########## ########## Language specific files ##########
# C# generated files # C#
*_runme.exe.mdb Examples/test-suite/csharp/*/
*_runme.exe *runme.exe.mdb
*runme.exe
Examples/csharp/*/*.cs
!Examples/csharp/*/runme.cs
# Go generated files # D
Examples/test-suite/d/*/
Examples/d/**/example.d
Examples/d/**/example_im.d
Examples/d/**/runme
# Go
*.[5689] *.[5689]
*_gc.c *_gc.c
# Javascript generated files # Java
Examples/test-suite/java/*/
Examples/java/*/*.java
!Examples/java/*/runme.java
# Javascript
Examples/test-suite/javascript/*/
*.gyp *.gyp
# Octave generated files # Octave
swigexample*.oct swigexample*.oct
Examples/test-suite/octave/*.oct Examples/test-suite/octave/*.oct
# Perl5 generated files # Perl5
Examples/test-suite/perl5/*.pm Examples/test-suite/perl5/*.pm
Examples/perl5/*/*.pm
# Python generated files, based on: # PHP
# https://github.com/github/gitignore/blob/master/Python.gitignore Examples/test-suite/php/php_*.h
Examples/test-suite/php/*.php
!Examples/test-suite/php/*runme.php
!Examples/test-suite/php/skel.php
Examples/php/*/php_*.h
Examples/php/*/example.php
# Python
# Based on https://github.com/github/gitignore/blob/master/Python.gitignore
*.py[cod] *.py[cod]
*/__pycache__/ */__pycache__/
/__pycache__/ /__pycache__/
Examples/test-suite/python/*.py Examples/test-suite/python/*.py
!Examples/test-suite/python/*_runme.py !Examples/test-suite/python/*runme.py
Examples/python/*/example.py Examples/python/*/example.py
Examples/python/**/bar.py Examples/python/**/bar.py
Examples/python/**/base.py Examples/python/**/base.py
Examples/python/**/foo.py Examples/python/**/foo.py
Examples/python/**/spam.py Examples/python/**/spam.py
# Scilab generated files # R
Examples/test-suite/r/*.R
Examples/test-suite/r/*.Rout
!Examples/test-suite/r/*runme.R
Examples/r/*/example.R
Examples/r/*/*.Rout
Examples/r/*/.RData
# Scilab
Examples/test-suite/scilab/*/
loader.sce loader.sce