jkcfg / kubernetes

Apache License 2.0
26 stars 6 forks source link

make dist with a clean repo doesn't work #54

Closed dlespiau closed 4 years ago

dlespiau commented 4 years ago

We just need to to add --init to git submodule update, leaving it here so I don't forget:

$ 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