forked from loafle/openapi-generator-original
better test for go-server (#8852)
This commit is contained in:
@@ -27,30 +27,16 @@
|
||||
<version>1.2.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>gofmt-test</id>
|
||||
<id>go-test</id>
|
||||
<phase>integration-test</phase>
|
||||
<goals>
|
||||
<goal>exec</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<executable>gofmt</executable>
|
||||
<executable>go</executable>
|
||||
<arguments>
|
||||
<argument>-w</argument>
|
||||
<argument>./main.go</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>gofmt-file-test</id>
|
||||
<phase>integration-test</phase>
|
||||
<goals>
|
||||
<goal>exec</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<executable>gofmt</executable>
|
||||
<arguments>
|
||||
<argument>-w</argument>
|
||||
<argument>./go/</argument>
|
||||
<argument>test</argument>
|
||||
<argument>-v</argument>
|
||||
</arguments>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
Reference in New Issue
Block a user