Skip to content

Commit

Permalink
Add IDEs to gitignore and default config file name (#74)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Coffman <[email protected]>
  • Loading branch information
StevenACoffman authored Sep 3, 2021
1 parent 6fdb170 commit f3e6013
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
52 changes: 52 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,53 @@
generate/testdata/tmp

## Go standard gitignore
# Binaries for programs and plugins
*.exe
*.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/

## VSCode standard gitignore
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Local History for Visual Studio Code
.history/

## JetBrains standard gitignore
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

.idea

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
2 changes: 1 addition & 1 deletion generate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func Main() {
case 2:
err = readConfigGenerateAndWrite(os.Args[1])
case 1:
err = readConfigGenerateAndWrite("")
err = readConfigGenerateAndWrite("genqlient.yaml")
default:
argv0 := os.Args[0]
if strings.Contains(argv0, string(filepath.Separator)+"go-build") {
Expand Down

0 comments on commit f3e6013

Please sign in to comment.