Merge branch 'yazug-ignore_generated_example_files'
* yazug-ignore_generated_example_files: Guile gitignore and consistent naming in examples Add language specific files to gitignore gitignore for python Add generated director header files to .ignore fix typo of Perl in .gitignore Add some generated example files to the .gitignore list
This commit is contained in:
commit
605b95d706
5 changed files with 62 additions and 37 deletions
91
.gitignore
vendored
91
.gitignore
vendored
|
|
@ -101,32 +101,11 @@ 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
|
||||
|
||||
# Scratch directories
|
||||
|
|
@ -137,27 +116,73 @@ 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
|
||||
|
||||
# Go generated files
|
||||
# D
|
||||
Examples/test-suite/d/*/
|
||||
Examples/d/**/example.d
|
||||
Examples/d/**/example_im.d
|
||||
Examples/d/**/runme
|
||||
|
||||
# Go
|
||||
*.[5689]
|
||||
*_gc.c
|
||||
|
||||
# Javascript generated files
|
||||
# Guile
|
||||
Examples/guile/*/my-guile
|
||||
|
||||
# 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
|
||||
|
||||
# Python generated files, based on:
|
||||
# https://github.com/github/gitignore/blob/master/Python.gitignore
|
||||
# Perl5
|
||||
Examples/test-suite/perl5/*.pm
|
||||
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/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
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
TOP = ../..
|
||||
SWIG = $(TOP)/../preinst-swig
|
||||
SRCS = matrix.c vector.c
|
||||
TARGET = matrix
|
||||
TARGET = my-guile
|
||||
INTERFACE = example.i
|
||||
|
||||
check: build
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ type the following :
|
|||
|
||||
Alternatively, use the command-line:
|
||||
|
||||
./matrix -e do-test -s runme.scm
|
||||
./my-guile -e do-test -s runme.scm
|
||||
|
||||
Or, if your operating system is spiffy enough:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
TOP = ../..
|
||||
SWIG = $(TOP)/../preinst-swig
|
||||
SRCS = example.c
|
||||
TARGET = port
|
||||
TARGET = my-guile
|
||||
INTERFACE = example.i
|
||||
|
||||
check: build
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
This example illustrates the translation from Scheme file ports to
|
||||
temporary FILE streams. Read the source and run ./port -s runme.scm
|
||||
temporary FILE streams. Read the source and run ./my-guile -s runme.scm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue