diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2021-08-29 21:10:42 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-08-29 21:10:42 +0900 |
commit | b70f41840819a59f82a37c0da7eddae40fc52aa0 (patch) | |
tree | f830f25438d089465ce70bec272f1ac2e6f3d03b /cmd/vartan/compile.go | |
parent | Use a pattern string defined by a string literal as its alias (diff) | |
download | urubu-b70f41840819a59f82a37c0da7eddae40fc52aa0.tar.gz urubu-b70f41840819a59f82a37c0da7eddae40fc52aa0.tar.xz |
Add describe command to print a description file
Diffstat (limited to 'cmd/vartan/compile.go')
-rw-r--r-- | cmd/vartan/compile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/vartan/compile.go b/cmd/vartan/compile.go index 9ffd1c9..73cc5e5 100644 --- a/cmd/vartan/compile.go +++ b/cmd/vartan/compile.go @@ -108,7 +108,7 @@ func runCompile(cmd *cobra.Command, args []string) (retErr error) { var descFileName string { _, grmFileName := filepath.Split(grmPath) - descFileName = fmt.Sprintf("%v.desc", strings.TrimSuffix(grmFileName, ".vr")) + descFileName = fmt.Sprintf("%v-description.json", strings.TrimSuffix(grmFileName, ".vr")) } opts := []grammar.CompileOption{ |