# Ignore all the files, except the ones we expect.
# See https://jasonstitt.com/gitignore-whitelisting-patterns
*
!*/

# Ignore build directories generated by default MSVC CMake integration
# (otherwise causes terribly slow indexing)
out/

# Allowed top-level files:
!.clang-format
!.clang-tidy
!.gitignore
!CHANGELOG.md
!CMakeLists.txt
!LICENSE
!README.md
!codecov.yml
!flake.lock
!flake.nix
!ftxui.pc.in
!iwyu.imp
!WORKSPACE.bazel
!BUILD.bazel
!MODULE.bazel
!.bazelrc

# .github directory:
!.github/**/*.yaml
!.github/**/*.yml
!.github/**/*.md

# cmake directory:
!cmake/**/*.in
!cmake/**/*.cmake

# bazel directory:
!bazel/**/*.bzl
!.bcr/*

# doc directory:
!doc/**/Doxyfile.in
!doc/**/*.txt
!doc/**/*.css
!doc/**/*.html
!doc/**/*.xml
!doc/**/*.md

# examples directory:
!examples/**/*.cpp
!examples/**/*.css
!examples/**/*.hpp
!examples/**/*.html
!examples/**/*.html.disabled
!examples/**/*.ipp
!examples/**/*.js
!examples/**/*.mjs
!examples/**/*.py
!examples/**/*.txt

# include directory:
!include/ftxui/**/*.hpp
!include/ftxui/**/*.cpp

# src directory:
!src/ftxui/*.cppm
!src/ftxui/**/*.hpp
!src/ftxui/**/*.cpp
!src/ftxui/**/*.cppm

# tools directory:
!tools/**/*.sh
!tools/**/*.cpp
build/
