diff --git a/ResourceService.thrift b/ResourceService.thrift index 9c5971a..ee0fd72 100644 --- a/ResourceService.thrift +++ b/ResourceService.thrift @@ -2,6 +2,7 @@ namespace php ResourceService namespace go ResourceService +namespace py ResourceService struct ResourceRequest { 1: string method, diff --git a/composer.json b/composer.json index 37b82a1..14d6ae2 100644 --- a/composer.json +++ b/composer.json @@ -38,8 +38,8 @@ "scripts": { "build:all": ["@build:thrift", "@build:go", "@build:py", "@build:php", "@build:bear"], "build:thrift": [ - "rm -rf client/py_client/gen_go/", - "rm -rf client/py_client/gen_py/", + "rm -rf client/go_client/gen*", + "rm -rf client/py_client/gen*", "thrift -r --gen php:server ResourceService.thrift", "thrift -r --gen go -o client/go_client ResourceService.thrift && mv client/go_client/gen-go client/go_client/gen_go", "thrift -r --gen py -o client/py_client ResourceService.thrift && mv client/py_client/gen-py client/py_client/gen_py"