fix(make): codegen paths to spec
This commit is contained in:
@@ -34,7 +34,7 @@ dep: $(DEP)
|
||||
$(DEP) ensure -v
|
||||
|
||||
codegen: $(SPEC)
|
||||
./codegen.sh
|
||||
@PATH=${PATH}:${GOPATH}/bin ./codegen.sh
|
||||
|
||||
protobuf: $(PROTOC)
|
||||
# @todo this needs work (it hangs and outputs nothing)
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ _PWD=$PWD
|
||||
SPECS=$(find $PWD -name 'spec.json' | xargs -n1 dirname)
|
||||
for SPEC in $SPECS; do
|
||||
echo "=== spec $SPEC ==="
|
||||
cd $SPEC && rm -rf spec && ${GOPATH}/bin/spec && cd .. && ./README.php && cd $_PWD
|
||||
cd $SPEC && rm -rf spec && /usr/bin/env spec && cd .. && ./README.php && cd $_PWD
|
||||
|
||||
SRC=$(dirname $(dirname $SPEC))
|
||||
echo "=== codegen $SRC ==="
|
||||
|
||||
Reference in New Issue
Block a user