Consolidate gitignore

Keep certain files with no file extension

Keep specific files with no file extension

Delete all gitignore files
This commit is contained in:
Brian Teague 2024-01-05 17:07:27 -05:00
parent 24f469c254
commit 60c639b60e
No known key found for this signature in database
GPG Key ID: A2006B3A49F673E3
44 changed files with 27 additions and 215 deletions

28
.gitignore vendored
View File

@ -1,3 +1,14 @@
### Do not modify these first three ignore rules. Needed to ignore files with no extension ###
# Ignore all files including binary files that have no extension
*
# Unignore all files with extensions
!*.*
# Unignore all directories
!*/
### Add specific file extensions and directories below ###
# Ignore the following directories and file extensions
target
generated-docs
zig-cache
@ -17,6 +28,19 @@ zig-cache
*.exe
*.pdb
# Specifically keep these files with no extension
!Earthfile
!AUTHORS
!LICENSE*
!LEGAL*
!Dockerfile
!dep5
!NotARocFile
# also includes keeping one exe benchmark file
!dynhost_benchmarks*
!rust-toolchain
# llvm human-readable output
*.ll
*.bc
@ -83,4 +107,6 @@ www/dist
# ignore the examples folder in the WIP website, this is copied from roc-lang/examples in when building the site
www/content/examples
www/examples-main.zip
www/examples-main
www/examples-main
examples/static-site-gen/**/*.html

View File

@ -1,11 +0,0 @@
app
*.o
*.dSYM
dynhost
libapp.so
metadata
preprocessedhost
packages-test
multi-dep-str/multi-dep-str
multi-dep-thunk/multi-dep-thunk

View File

@ -1 +0,0 @@
Main

View File

@ -1 +0,0 @@
Main

View File

@ -1,12 +0,0 @@
*.dSYM
libhost.a
libapp.so
dynhost
preprocessedhost
metadata
expects/expects
benchmarks/rbtree-ck
benchmarks/rbtree-insert
benchmarks/test-astar
benchmarks/test-base64

View File

@ -1,2 +0,0 @@
fibonacci
quicksort

View File

@ -1,12 +0,0 @@
cfold
closure
deriv
issue2279
nqueens
quicksortapp
RBTreeCk
RBTreeDel
RBTreeInsert
TestAStar
TestBase64
*.wasm

View File

@ -1 +0,0 @@
builtins.ll

View File

@ -1,5 +0,0 @@
zig-out
zig-cache
src/zig-cache
benchmark/zig-cache
dec

View File

@ -1,17 +0,0 @@
/node_modules
/.pnp
.pnp.js
/coverage
/build
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View File

@ -1,4 +0,0 @@
*.wasm
*.wat
/notes.md
/tmp

View File

@ -1 +0,0 @@
/tmp

View File

@ -1 +0,0 @@
/build

View File

@ -1,3 +0,0 @@
target
corpus
artifacts

View File

@ -1 +0,0 @@
/build

View File

@ -1,3 +0,0 @@
*.so
*.dylib
*.dll

View File

@ -1,12 +0,0 @@
Cargo.lock
Cargo.toml
build.rs
host.c
test_glue
roc_externs.rs
main.rs
app
dynhost
libapp.so
metadata
preprocessedhost

View File

@ -1,5 +0,0 @@
# wasm-pack
/pkg
# shell script output
/build

View File

@ -1 +0,0 @@
/tmp

View File

@ -1,2 +0,0 @@
*.o
*.a

View File

@ -1,2 +0,0 @@
dynhost
libapp.so

View File

@ -1,2 +0,0 @@
/target
Cargo.lock

18
examples/.gitignore vendored
View File

@ -1,18 +0,0 @@
*.dSYM
libhost.a
libapp.so
dynhost
*.rm
*.rh
helloWorld
helloWorldNoURL
inspect-gui
inspect-logging
swiftui
parser/examples/example
gui/hello-gui
gui/breakout/breakout
gui/breakout/hello-gui
webserver/echo
webserver/http

View File

@ -1,13 +0,0 @@
args
countdown
echo
effects
file
form
tui
http-get
file-io
env
ingested-file
ingested-file-bytes
out.txt

View File

@ -1 +0,0 @@
false

View File

@ -1,37 +0,0 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "arrayvec"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6"
[[package]]
name = "host"
version = "0.0.1"
dependencies = [
"libc",
"roc_std",
]
[[package]]
name = "libc"
version = "0.2.92"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56d855069fafbb9b344c0f962150cd2c1187975cb1c22c1522c240d8c4986714"
[[package]]
name = "roc_std"
version = "0.0.1"
dependencies = [
"arrayvec",
"static_assertions",
]
[[package]]
name = "static_assertions"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"

View File

@ -1 +0,0 @@
hello-guiBROKEN

View File

@ -1,2 +0,0 @@
breakoutBROKEN
hello-guiBROKEN

View File

@ -1 +0,0 @@
target

View File

@ -1 +0,0 @@
target

View File

@ -1,7 +0,0 @@
*.log
*.class
*.o
*.so
*.jar
libhello*
*.h

View File

@ -1,2 +0,0 @@
build
node_modules

View File

@ -1 +0,0 @@
roc-app.wasm

View File

@ -1 +0,0 @@
parse-movies-csv

View File

@ -1 +0,0 @@
letter-counts

View File

@ -1,8 +0,0 @@
rocLovesC
rocLovesPlatforms
rocLovesRust
rocLovesSwift
rocLovesWebAssembly
rocLovesZig
main
*.wasm

View File

@ -1,5 +0,0 @@
libhello*
.interop_env/
build/
demo.egg-info/
dist/

View File

@ -1,9 +0,0 @@
libhello
libhello.o
libhello.dylib
libhello.so
libhello.so.*
*.log
Makefile
*.bundle
extconf.h

View File

@ -1,4 +0,0 @@
/output/*.html
/output/subFolder
/static-site
/bin

View File

@ -1 +0,0 @@
main

2
www/.gitignore vendored
View File

@ -1,2 +0,0 @@
# ignore a symlink to the wasm repl code
public/repl