diff --git a/.gitignore b/.gitignore index ba3921d..3db335e 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/generate/main.go b/generate/main.go index e3ffdd3..db83a7f 100644 --- a/generate/main.go +++ b/generate/main.go @@ -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") {