aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore43
1 files changed, 29 insertions, 14 deletions
diff --git a/.gitignore b/.gitignore
index fea4c6e..3a4757d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,15 +1,30 @@
+#ignore everything
+/*
+
+#and whitelist
+
+!.editorconfig
+!.gitignore
+!.gitmodules
+
+!README.md
+!LICENSE
+!todo.txt
+!/doc/
+
+!configure
+!Makefile
+!bootstrap.sh
+
+!/*.h
hostconfig.h
-config.mk
-antcc
-antcc0
-antcc1
-antcc2
-build/
-test/build/
-test/log.txt
-compile_commands.json
-.cache/
-.gdb_history
-*.o
-a.out
-tool/depgen
+!/*.c
+!/c/
+!/ir/
+!/x86_64/
+!/aarch64/
+!/obj/
+!/tool/
+
+!/test/
+!/test/external/**