forked from datadotworld/data.world-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
12 lines (12 loc) · 734 Bytes
/
Copy pathMakefile
File metadata and controls
12 lines (12 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
test:
coverage run setup.py test
test-report:
coverage report -m
update_swagger_codegen:
mvn dependency:get -Dartifact=io.swagger:swagger-codegen-cli:2.2.3:jar -DremoteRepositories=central::default::https://repo.maven.apache.org/maven2
pushd datadotworld/client; \
curl https://raw.githubusercontent.com/datadotworld/dwapi-spec/main/src/main/resources/world/data/api/swagger.json -o swagger-dwapi-def.json; \
java -jar ~/.m2/repository/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar generate -l python --git-repo-id=data.world-py --git-user-id=datadotworld \
--http-user-agent="data.world-py" --invoker-package=client \
-i swagger-dwapi-def.json -c swagger-codegen-config.json --release-note=""; \
popd;