zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

.gitignore (1550B)


      1 # blacklist everything
      2 /*
      3 
      4 # git stuff
      5 !/.gitignore
      6 !/.gitmodules
      7 
      8 # license and readme
      9 !/LICENSE
     10 !/README.md
     11 !/CONTRIBUTING.md
     12 
     13 # useful things
     14 !/.iex.exs
     15 !/.credo.exs
     16 !/.editorconfig
     17 
     18 # the man*n*ager
     19 !/mann
     20 
     21 # mix stuff
     22 !/mix.exs
     23 !/mix.lock
     24 
     25 ## About the following ignore-unignore patterns: well, I know they are not
     26 ## perfect, but this is the best solution I could come up with since git
     27 ## doesn't let me do:
     28 ##
     29 ## /*
     30 ## !/src/**/*.ex
     31 ##
     32 ## It did support this, but the commits were reverted somewhen back in 2016.
     33 ## What these basically do is to allow couple-levels deep directories only,
     34 ## since git doesn't let me select all with **/*.ex (read gitignore(5))
     35 
     36 # configs
     37 !/conf/
     38 /conf/*
     39 !/conf/buildtime.exs
     40 !/conf/runtime.exs
     41 !/conf/.env.templ
     42 
     43 # src code
     44 !/src/
     45 /src/*
     46 !/src/*/
     47 /src/*/*
     48 !/src/*/*/
     49 /src/*/*/*
     50 !/src/*/*/*/
     51 /src/*/*/*/*
     52 !/src/*/*/*/*/
     53 /src/*/*/*/*/*
     54 !/src/*/*/*/*/*/
     55 /src/*/*/*/*/*/*
     56 !/src/*/*/*/*/*/*/
     57 /src/*/*/*/*/*/*/*
     58 !/src/**/*.ex
     59 
     60 # tests
     61 !/test/
     62 /test/*
     63 !/test/*/
     64 /test/*/*
     65 !/test/*/*/
     66 /test/*/*/*
     67 !/test/*/*/*/
     68 /test/*/*/*/*
     69 !/test/*/*/*/*/
     70 /test/*/*/*/*/*
     71 !/test/*/*/*/*/*/
     72 /test/*/*/*/*/*/*
     73 !/test/*/*/*/*/*/*/
     74 /test/*/*/*/*/*/*/*
     75 !/test/**/*.ex
     76 !/test/**/*.test.exs
     77 
     78 # versioned migrations
     79 !/priv/
     80 /priv/*
     81 !/priv/repo/
     82 /priv/repo/*
     83 !/priv/repo/migrations
     84 /priv/repo/migrations/*
     85 !/priv/repo/migrations/*.exs
     86 
     87 # deps
     88 !/.deps/
     89 
     90 # docs
     91 !/docs/
     92 /docs/*
     93 !/docs/*.md
     94 !/docs/*.png
     95 !/docs/*.jpg
     96 
     97 # devops stuff
     98 !/.dockerignore
     99 !/devop/
    100 /devop/*
    101 !/devop/Dockerfile
    102 !/devop/.docker-compose.templ
    103 
    104 # github stuff
    105 !/.github/