diff options
Diffstat (limited to 'cmd/vartan/compile.go')
-rw-r--r-- | cmd/vartan/compile.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/vartan/compile.go b/cmd/vartan/compile.go index e645366..0755456 100644 --- a/cmd/vartan/compile.go +++ b/cmd/vartan/compile.go @@ -7,17 +7,17 @@ import ( "os" "path/filepath" - verr "github.com/nihei9/vartan/error" - "github.com/nihei9/vartan/grammar" - spec "github.com/nihei9/vartan/spec/grammar" - "github.com/nihei9/vartan/spec/grammar/parser" - "github.com/spf13/cobra" + verr "error" + "grammar" + spec "spec/grammar" + "spec/grammar/parser" ) var compileFlags = struct { output *string }{} +/* func init() { cmd := &cobra.Command{ Use: "compile", @@ -29,8 +29,9 @@ func init() { compileFlags.output = cmd.Flags().StringP("output", "o", "", "output file path (default stdout)") rootCmd.AddCommand(cmd) } +*/ -func runCompile(cmd *cobra.Command, args []string) (retErr error) { +func runCompile(args []string) (retErr error) { var tmpDirPath string defer func() { if tmpDirPath == "" { |