diff --git a/.gitignore b/.gitignore index 7237979..4cab4c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,31 +1,88 @@ -# ---> Go -# Compiled Object files, Static and Dynamic libs (Shared Objects) -*.o -*.a -*.so +# From https://stackoverflow.com/questions/5711120/gitignore-binary-files-that-have-no-extension +# Ignore all +* -# Folders -_obj -_test +# Unignore all with extensions +!*.* -# Architecture specific extensions/prefixes -*.[568vq] -[568vq].out +# Unignore all dirs +!*/ -*.cgo1.go -*.cgo2.c -_cgo_defun.c -_cgo_gotypes.go -_cgo_export.* -_testmain.go +# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,sublimetext,go +# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,sublimetext,go +### Go ### +# Binaries for programs and plugins *.exe -*.test -*.prof +*.exe~ +*.dll +*.so +*.dylib +# Test binary, built with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Dependency directories (remove the comment below to include it) +# vendor/ + +### Go Patch ### +/vendor/ +/Godeps/ + +### SublimeText ### +# Cache files for Sublime Text +*.tmlanguage.cache +*.tmPreferences.cache +*.stTheme.cache + +# Workspace files are user-specific *.sublime-workspace -.vscode/ -*~ -config.json -build/ + +# Project files should be checked into the repository, unless a significant +# proportion of contributors will probably not be using Sublime Text +# *.sublime-project + +# SFTP configuration file +sftp-config.json +sftp-config-alt*.json + +# Package control specific files +Package Control.last-run +Package Control.ca-list +Package Control.ca-bundle +Package Control.system-ca-bundle +Package Control.cache/ +Package Control.ca-certs/ +Package Control.merged-ca-bundle +Package Control.user-ca-bundle +oscrypto-ca-bundle.crt +bh_unicode_properties.cache + +# Sublime-github package stores a github token in this file +# https://packagecontrol.io/packages/sublime-github +GitHub.sublime-settings + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +# Local History for Visual Studio Code +.history/ + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +# Support for Project snippet scope +!.vscode/*.code-snippets + +# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,sublimetext,go \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..ffb3003 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,17 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "earthly +run", + "type": "shell", + "command": "earthly +run", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file