diff .hgignore @ 304:3ccf841ca1fe

make: improve readability and add examples/tests
author David Demelier <markand@malikania.fr>
date Thu, 24 Jun 2021 22:35:02 +0200
parents 789b23e01f52
children 3675021fa6e5
line wrap: on
line diff
--- a/.hgignore	Thu Jun 24 20:30:41 2021 +0200
+++ b/.hgignore	Thu Jun 24 22:35:02 2021 +0200
@@ -1,3 +1,12 @@
+# temporary files.
+\.a$
+\.d$
+\.o$
+
+# generated files.
+assets/.*\.h$
+^config\.h$
+
 # vim/emacs specific.
 ^tags$
 ^tags.lock$
@@ -8,5 +17,41 @@
 # macOS specific.
 \.DS_Store$
 
-# CMake build directory.
-^build$
+# examples.
+^examples/example-action/main$
+^examples/example-animation/main$
+^examples/example-audio/main$
+^examples/example-cursor/main$
+^examples/example-debug/main$
+^examples/example-drawable/main$
+^examples/example-font/main$
+^examples/example-gridmenu/main$
+^examples/example-label/main$
+^examples/example-message/main$
+^examples/example-sprite/main$
+^examples/example-trace/main$
+^examples/example-ui/main$
+
+# tests.
+^tests/test-action$
+^tests/test-action-script$
+^tests/test-alloc$
+^tests/test-character$
+^tests/test-color$
+^tests/test-drawable$
+^tests/test-error$
+^tests/test-map$
+^tests/test-save$
+^tests/test-state$
+^tests/test-tileset$
+^tests/test-util$
+
+# maps and tilesets from libmlk-data.
+^libmlk-data/maps/.*\.map$
+^libmlk-data/maps/.*\.tileset$
+
+# executables.
+^mlk-adventure/mlk-adventure$
+^tools/bcc/mlk-bcc$
+^tools/map/mlk-map$
+^tools/tileset/mlk-tileset$