From 9219d2ef4c5a539324049a0770e15f0a8e66a3a4 Mon Sep 17 00:00:00 2001 From: Ben Coman Date: Mon, 7 Jan 2019 23:17:18 +0800 Subject: [PATCH] Simplify gitignore build directories --- .gitignore | 43 ++++++++----------------------------------- 1 file changed, 8 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index 67bed83944..14c7d1e59b 100644 --- a/.gitignore +++ b/.gitignore @@ -21,41 +21,14 @@ platforms/unix/config/autom4te.cache/ -# Don't track build directories -/build*/**/* -# except do track these files -!branding.gmk -!branding-sed-rules.gmk -!conf.COG -!conf.COG.dbg -!Croquet.def.in -!Croquet.exe.manifest -!Croquet.ico -!Croquet.rc -!GreenCogSqueak.ico -!HowToBuild -!makeall -!makeallclean -!makealldirty -!makeclean -!makeem -!Makefile -!Makefile.plugin -!Makefile.rules -!Makefile.tools -!makeproduct -!makeproductclean -!mkNamedPrims.sh -!mvm -!NotYetImplemented -!plugins.ext -!plugins.int -!Squeak.def.in -!Squeak.exe.manifest -!squeak.ico -!Squeak.rc -!editnewspeakinstall.sh -!/build.linux32ARMv6/asasm +# Track build config files, e.g. /build.platform/dialect.type.mem/files +# but not build directories, e.g. /build.platform/dialect.type.mem/build_directory/ +# distiguished by trailing slash +/build*/*/*/ +# except specially exclude a few generated files mixed with config files +/build*/*/LOG* +/build*/*/mkNamedPrims.exe +/build*/*/sqNamedPrims.h # Ignore special Cadence-only build directories /build*/glue*