summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2015-04-25 23:57:50 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2015-04-25 23:57:50 +0100
commit3f8034395bd333fc9e38ef8d7bb1d3d3b11e4dba (patch)
tree83eaf1646b3e2245a29a7ba576174d63d4d1ded3 /.gitignore
parentf8e4b1beb59696bf009b2dcb3cd4e31e3c6590a9 (diff)
downloadswig-3f8034395bd333fc9e38ef8d7bb1d3d3b11e4dba.tar.gz
Add language specific files to gitignore
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore83
1 files changed, 47 insertions, 36 deletions
diff --git a/.gitignore b/.gitignore
index 4d4531da2..95edbf140 100644
--- a/.gitignore
+++ b/.gitignore
@@ -101,31 +101,9 @@ Doc/Manual/SWIGDocumentation.html
Doc/Manual/SWIGDocumentation.pdf
Doc/Manual/*.book
-# Test Suite 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/*/
+# SWIG common generated files
*_wrap.c
+*_wrap.cpp
*_wrap.cxx
*_wrap.h
*-gypcopy.cxx
@@ -138,37 +116,70 @@ Examples/scratch
########## Language specific files ##########
-# C# generated files
-*_runme.exe.mdb
-*_runme.exe
+# C#
+Examples/test-suite/csharp/*/
+*runme.exe.mdb
+*runme.exe
+Examples/csharp/*/*.cs
+!Examples/csharp/*/runme.cs
+
+# D
+Examples/test-suite/d/*/
+Examples/d/**/example.d
+Examples/d/**/example_im.d
+Examples/d/**/runme
-# Go generated files
+# Go
*.[5689]
*_gc.c
-# Javascript generated files
+# Java
+Examples/test-suite/java/*/
+Examples/java/*/*.java
+!Examples/java/*/runme.java
+
+# Javascript
+Examples/test-suite/javascript/*/
*.gyp
-# Octave generated files
+# Octave
swigexample*.oct
Examples/test-suite/octave/*.oct
-# Perl5 generated files
+# Perl5
Examples/test-suite/perl5/*.pm
-
-# Python generated files, based on:
-# https://github.com/github/gitignore/blob/master/Python.gitignore
+Examples/perl5/*/*.pm
+
+# PHP
+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]
*/__pycache__/
/__pycache__/
Examples/test-suite/python/*.py
-!Examples/test-suite/python/*_runme.py
+!Examples/test-suite/python/*runme.py
Examples/python/*/example.py
Examples/python/**/bar.py
Examples/python/**/base.py
Examples/python/**/foo.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