jkcfg / kubernetes

Apache License 2.0
26 stars 6 forks source link

build: Use git submodule update --init #56

Closed dlespiau closed 4 years ago

dlespiau commented 4 years ago

$ make dist GO111MODULE=on go run ./cmd/apigen/ cmd/apigen/specs/swagger-v1.13.0.json cmd/apigen/templates ./src/ git submodule update -- ./schemas Submodule path 'schemas' not initialized Maybe you want to use 'update --init'? mkdir -p build/schemas for d in schemas/-local; do \ cp -R "$d" src/schemas/; \ done cp: cannot stat 'schemas/-local': No such file or directory Makefile:30: recipe for target 'copy-schemas' failed make: *** [copy-schemas] Error 1

Fixes: #54