From 3d0f3b95d58b68cab066191f46de8b55624e164d Mon Sep 17 00:00:00 2001 From: AYM1607 Date: Mon, 1 May 2023 04:49:16 +0000 Subject: [PATCH] Updating gitignores and initializing module for golox --- .gitignore | 95 ++---------------------------------------------- clox/.gitignore | 70 +++++++++++++++++++++++++++++++++++ golox/.gitignore | 17 +++++++++ golox/go.mod | 3 ++ 4 files changed, 93 insertions(+), 92 deletions(-) create mode 100644 clox/.gitignore create mode 100644 golox/.gitignore create mode 100644 golox/go.mod diff --git a/.gitignore b/.gitignore index 7a01449..5b49204 100644 --- a/.gitignore +++ b/.gitignore @@ -1,94 +1,5 @@ -# Created by https://www.toptal.com/developers/gitignore/api/macos,linux,go,c,cmake -# Edit at https://www.toptal.com/developers/gitignore?templates=macos,linux,go,c,cmake - -### C ### -# Prerequisites -*.d - -# Object files -*.o -*.ko -*.obj -*.elf - -# Linker output -*.ilk -*.map -*.exp - -# Precompiled Headers -*.gch -*.pch - -# Libraries -*.lib -*.a -*.la -*.lo - -# Shared objects (inc. Windows DLLs) -*.dll -*.so -*.so.* -*.dylib - -# Executables -*.exe -*.out -*.app -*.i*86 -*.x86_64 -*.hex - -# Debug files -*.dSYM/ -*.su -*.idb -*.pdb - -# Kernel Module Compile Results -*.mod* -*.cmd -.tmp_versions/ -modules.order -Module.symvers -Mkfile.old -dkms.conf - -### CMake ### -CMakeLists.txt.user -CMakeCache.txt -CMakeFiles -CMakeScripts -Testing -Makefile -cmake_install.cmake -install_manifest.txt -compile_commands.json -CTestTestfile.cmake -_deps - -### CMake Patch ### -# External projects -*-prefix/ - -### Go ### -# If you prefer the allow list template instead of the deny list, see community template: -# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore -# -# Binaries for programs and plugins -*.exe~ - -# Test binary, built with `go test -c` -*.test - -# Output of the go coverage tool, specifically when used with LiteIDE - -# Dependency directories (remove the comment below to include it) -# vendor/ - -# Go workspace file -go.work +# Created by https://www.toptal.com/developers/gitignore/api/macos,linux +# Edit at https://www.toptal.com/developers/gitignore?templates=macos,linux ### Linux ### *~ @@ -138,4 +49,4 @@ Temporary Items # iCloud generated files *.icloud -# End of https://www.toptal.com/developers/gitignore/api/macos,linux,go,c,cmake +# End of https://www.toptal.com/developers/gitignore/api/macos,linux diff --git a/clox/.gitignore b/clox/.gitignore new file mode 100644 index 0000000..f1b9497 --- /dev/null +++ b/clox/.gitignore @@ -0,0 +1,70 @@ +### C ### +# Prerequisites +*.d + +# Object files +*.o +*.ko +*.obj +*.elf + +# Linker output +*.ilk +*.map +*.exp + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.lib +*.a +*.la +*.lo + +# Shared objects (inc. Windows DLLs) +*.dll +*.so +*.so.* +*.dylib + +# Executables +*.exe +*.out +*.app +*.i*86 +*.x86_64 +*.hex + +# Debug files +*.dSYM/ +*.su +*.idb +*.pdb + +# Kernel Module Compile Results +*.mod* +*.cmd +.tmp_versions/ +modules.order +Module.symvers +Mkfile.old +dkms.conf + +### CMake ### +CMakeLists.txt.user +CMakeCache.txt +CMakeFiles +CMakeScripts +Testing +Makefile +cmake_install.cmake +install_manifest.txt +compile_commands.json +CTestTestfile.cmake +_deps + +### CMake Patch ### +# External projects +*-prefix/ diff --git a/golox/.gitignore b/golox/.gitignore new file mode 100644 index 0000000..4e33eb1 --- /dev/null +++ b/golox/.gitignore @@ -0,0 +1,17 @@ +### Go ### +# If you prefer the allow list template instead of the deny list, see community template: +# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore +# +# Binaries for programs and plugins +*.exe~ + +# Test binary, built with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE + +# Dependency directories (remove the comment below to include it) +# vendor/ + +# Go workspace file +go.work diff --git a/golox/go.mod b/golox/go.mod new file mode 100644 index 0000000..913663f --- /dev/null +++ b/golox/go.mod @@ -0,0 +1,3 @@ +module github.com/AYM1607/crafting-interpreters/golox + +go 1.20