Move and more aptly name check_examples.py scripts
This commit is contained in:
parent
7fed40ad04
commit
b8dafe86f4
4 changed files with 6 additions and 8 deletions
|
@ -5,9 +5,10 @@ gendoc: &gendoc
|
|||
scripts/gendoc.py
|
||||
|
||||
genswagger: &genswagger
|
||||
name: Generate the swagger
|
||||
name: Validate sources and generate swagger json
|
||||
command: |
|
||||
source /env/bin/activate
|
||||
scripts/check-swagger-sources.py
|
||||
scripts/dump-swagger.py
|
||||
|
||||
buildswaggerui: &buildswaggerui
|
||||
|
@ -27,10 +28,7 @@ checkexamples: &checkexamples
|
|||
name: Check Event Examples
|
||||
command: |
|
||||
source /env/bin/activate
|
||||
cd event-schemas
|
||||
./check_examples.py
|
||||
cd ../api
|
||||
./check_examples.py
|
||||
scripts/check-event-schema-examples.py
|
||||
|
||||
genmatrixassets: &genmatrixassets
|
||||
name: Generate/Verify matrix.org assets
|
||||
|
|
|
@ -14,9 +14,9 @@ pip --version
|
|||
pip install -r scripts/requirements.txt
|
||||
|
||||
# do sanity checks on the examples and swagger
|
||||
(cd event-schemas/ && ./check_examples.py)
|
||||
(cd api && ./check_examples.py)
|
||||
(cd api && npm install && node validator.js -s "client-server")
|
||||
scripts/check-event-schema-examples.py
|
||||
scripts/check-swagger-sources.py
|
||||
(cd event-schemas/api && npm install && node validator.js -s "client-server")
|
||||
|
||||
: ${GOPATH:=${WORKSPACE}/.gopath}
|
||||
mkdir -p "${GOPATH}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue