<div dir="ltr"><p>For review by anyone<br><br>branch: master<br><br>For better testing of the extras distribution,<br>Adding .gitignore files to have a clean "git status" output<br><br>extras/.gitignore:<br> Mercury ignores the --use-{grade}-subdir dir<br>
Mercury/** for git 1.8+ this recursively ignores all build files<br> ignoring *.mh and *.init files<br> *.err output files<br> lib*.{dll|so|a} ignores target compiler library output<br> *.jar ignores the Java grade output<br>
*.exe for Windows executables<br><br>extras/dynamic_linking/.gitignore:<br> ignoring the copy of dl.m, name_mangle.m<br> ignoring hello lib and dl_test* executables<br><br>extras/moose/samples/.gitignore:<br> ignoring cgram.m small.m alpha.m expr.m which are<br>
generated from the .moo grammar files<br><br>extras/graphics/mercury_cairo/samples/.gitignore:<br> ignoring *.png output and all executables<br><br>extras/**/.gitignore:<br> In each sample/test/example folder the linux executable/test<br>
output is ignored<br><br>---<br> extras/.gitignore | 10 ++++++++++<br> extras/complex_numbers/samples/.gitignore | 1 +<br> extras/complex_numbers/tests/.gitignore | 3 +++<br>
extras/curs/samples/.gitignore | 3 +++<br> extras/curses/sample/.gitignore | 1 +<br> extras/dynamic_linking/.gitignore | 4 ++++<br> extras/graphics/easyx/samples/.gitignore | 5 +++++<br>
extras/graphics/mercury_allegro/examples/.gitignore | 8 ++++++++<br> extras/graphics/mercury_allegro/samples/.gitignore | 4 ++++<br> extras/graphics/mercury_cairo/samples/.gitignore | 19 +++++++++++++++++++<br> extras/graphics/mercury_glfw/samples/.gitignore | 3 +++<br>
extras/graphics/samples/.gitignore | 6 ++++++<br> extras/lex/samples/.gitignore | 2 ++<br> extras/moose/.gitignore | 1 +<br> extras/moose/samples/.gitignore | 6 ++++++<br>
extras/posix/.gitignore | 1 +<br> extras/trailed_update/samples/.gitignore | 2 ++<br> extras/xml/.gitignore | 1 +<br> 18 files changed, 80 insertions(+)<br>
create mode 100644 extras/.gitignore<br> create mode 100644 extras/complex_numbers/samples/.gitignore<br> create mode 100644 extras/complex_numbers/tests/.gitignore<br> create mode 100644 extras/curs/samples/.gitignore<br>
create mode 100644 extras/curses/sample/.gitignore<br> create mode 100644 extras/dynamic_linking/.gitignore<br> create mode 100644 extras/graphics/easyx/samples/.gitignore<br> create mode 100644 extras/graphics/mercury_allegro/examples/.gitignore<br>
create mode 100644 extras/graphics/mercury_allegro/samples/.gitignore<br> create mode 100644 extras/graphics/mercury_cairo/samples/.gitignore<br> create mode 100644 extras/graphics/mercury_glfw/samples/.gitignore<br> create mode 100644 extras/graphics/samples/.gitignore<br>
create mode 100644 extras/lex/samples/.gitignore<br> create mode 100644 extras/moose/.gitignore<br> create mode 100644 extras/moose/samples/.gitignore<br> create mode 100644 extras/posix/.gitignore<br> create mode 100644 extras/trailed_update/samples/.gitignore<br>
create mode 100644 extras/xml/.gitignore<br><br>diff --git a/extras/.gitignore b/extras/.gitignore<br>new file mode 100644<br>index 0000000..4f7f36c<br>--- /dev/null<br>+++ b/extras/.gitignore<br>@@ -0,0 +1,10 @@<br>+Mercury<br>
+Mercury/**<br>+*.mh<br>+*.init<br>+*.err<br>+*.jar<br>+*.exe<br>+lib*.dll<br>+lib*.so<br>+lib*.a<br>diff --git a/extras/complex_numbers/samples/.gitignore b/extras/complex_numbers/samples/.gitignore<br>new file mode 100644<br>
index 0000000..e91bc4f<br>--- /dev/null<br>+++ b/extras/complex_numbers/samples/.gitignore<br>@@ -0,0 +1 @@<br>+fft<br>diff --git a/extras/complex_numbers/tests/.gitignore b/extras/complex_numbers/tests/.gitignore<br>new file mode 100644<br>
index 0000000..57f95f4<br>--- /dev/null<br>+++ b/extras/complex_numbers/tests/.gitignore<br>@@ -0,0 +1,3 @@<br>+complex_test<br>+complex_test.out<br>+complex_test.res<br>diff --git a/extras/curs/samples/.gitignore b/extras/curs/samples/.gitignore<br>
new file mode 100644<br>index 0000000..e1ca820<br>--- /dev/null<br>+++ b/extras/curs/samples/.gitignore<br>@@ -0,0 +1,3 @@<br>+demo<br>+frogger<br>+nibbles<br>diff --git a/extras/curses/sample/.gitignore b/extras/curses/sample/.gitignore<br>
new file mode 100644<br>index 0000000..79efa35<br>--- /dev/null<br>+++ b/extras/curses/sample/.gitignore<br>@@ -0,0 +1 @@<br>+smalltest<br>diff --git a/extras/dynamic_linking/.gitignore b/extras/dynamic_linking/.gitignore<br>
new file mode 100644<br>index 0000000..6604202<br>--- /dev/null<br>+++ b/extras/dynamic_linking/.gitignore<br>@@ -0,0 +1,4 @@<br>+dl.m<br>+dl_test<br>+dl_test2<br>+name_mangle.m<br>diff --git a/extras/graphics/easyx/samples/.gitignore b/extras/graphics/easyx/samples/.gitignore<br>
new file mode 100644<br>index 0000000..29b2f03<br>--- /dev/null<br>+++ b/extras/graphics/easyx/samples/.gitignore<br>@@ -0,0 +1,5 @@<br>+bounce<br>+mclock<br>+moveball<br>+scribble<br>+testeasyx<br>diff --git a/extras/graphics/mercury_allegro/examples/.gitignore b/extras/graphics/mercury_allegro/examples/.gitignore<br>
new file mode 100644<br>index 0000000..f2580f7<br>--- /dev/null<br>+++ b/extras/graphics/mercury_allegro/examples/.gitignore<br>@@ -0,0 +1,8 @@<br>+exdata<br>+exhello<br>+exjoy<br>+exmouse<br>+exscroll<br>+exspline<br>+exsprite<br>
+extimer<br>diff --git a/extras/graphics/mercury_allegro/samples/.gitignore b/extras/graphics/mercury_allegro/samples/.gitignore<br>new file mode 100644<br>index 0000000..aa3b190<br>--- /dev/null<br>+++ b/extras/graphics/mercury_allegro/samples/.gitignore<br>
@@ -0,0 +1,4 @@<br>+demo/demo<br>+pendulum2/pendulum2<br>+mandel/mandel<br>+speed/speed<br>diff --git a/extras/graphics/mercury_cairo/samples/.gitignore b/extras/graphics/mercury_cairo/samples/.gitignore<br>new file mode 100644<br>
index 0000000..dabf3e9<br>--- /dev/null<br>+++ b/extras/graphics/mercury_cairo/samples/.gitignore<br>@@ -0,0 +1,19 @@<br>+*.png<br>+arc<br>+arc_negative<br>+clip<br>+clip_image<br>+curve_to<br>+dash<br>+fill_and_stroke2<br>
+fill_style<br>+gradient<br>+hello<br>+image<br>+imagepattern<br>+multi_segment_caps<br>+set_line_cap<br>+set_line_join<br>+text<br>+text_align_center<br>+text_extents<br>diff --git a/extras/graphics/mercury_glfw/samples/.gitignore b/extras/graphics/mercury_glfw/samples/.gitignore<br>
new file mode 100644<br>index 0000000..c269581<br>--- /dev/null<br>+++ b/extras/graphics/mercury_glfw/samples/.gitignore<br>@@ -0,0 +1,3 @@<br>+gears<br>+listmodes<br>+triangle<br>diff --git a/extras/graphics/samples/.gitignore b/extras/graphics/samples/.gitignore<br>
new file mode 100644<br>index 0000000..dacb617<br>--- /dev/null<br>+++ b/extras/graphics/samples/.gitignore<br>@@ -0,0 +1,6 @@<br>+calc/calc<br>+calc/calc<br>+gears/gears<br>+gears/gears<br>+maze/maze<br>+pent/pent<br>diff --git a/extras/lex/samples/.gitignore b/extras/lex/samples/.gitignore<br>
new file mode 100644<br>index 0000000..7b77ca8<br>--- /dev/null<br>+++ b/extras/lex/samples/.gitignore<br>@@ -0,0 +1,2 @@<br>+lex_demo<br>+regex_demo<br>diff --git a/extras/moose/.gitignore b/extras/moose/.gitignore<br>new file mode 100644<br>
index 0000000..a8cb35c<br>--- /dev/null<br>+++ b/extras/moose/.gitignore<br>@@ -0,0 +1 @@<br>+moose<br>diff --git a/extras/moose/samples/.gitignore b/extras/moose/samples/.gitignore<br>new file mode 100644<br>index 0000000..eeb8bd5<br>
--- /dev/null<br>+++ b/extras/moose/samples/.gitignore<br>@@ -0,0 +1,6 @@<br>+alpha.m<br>+try_alpha<br>+expr.m<br>+try_expr<br>+small.m<br>+cgram.m<br>diff --git a/extras/posix/.gitignore b/extras/posix/.gitignore<br>new file mode 100644<br>
index 0000000..ce01362<br>--- /dev/null<br>+++ b/extras/posix/.gitignore<br>@@ -0,0 +1 @@<br>+hello<br>diff --git a/extras/trailed_update/samples/.gitignore b/extras/trailed_update/samples/.gitignore<br>new file mode 100644<br>
index 0000000..28e8983<br>--- /dev/null<br>+++ b/extras/trailed_update/samples/.gitignore<br>@@ -0,0 +1,2 @@<br>+interpreter<br>+vqueens<br>diff --git a/extras/xml/.gitignore b/extras/xml/.gitignore<br>new file mode 100644<br>
index 0000000..1a591ec<br>--- /dev/null<br>+++ b/extras/xml/.gitignore<br>@@ -0,0 +1 @@<br>+tryit<br>--<br>1.8.3.2<br><br></p></div>