mozilla / nimbus-shared

Shared data and schemas for Project Nimbus
https://mozilla.github.io/nimbus-shared
Mozilla Public License 2.0
5 stars 15 forks source link

Generated python package contains schemas at wrong location #236

Closed brennie closed 1 year ago

brennie commented 1 year ago

When you run make it generates a python package and copies the schemas from ./schemas to python/mozilla_nimbus_shared/schemas, via:

cp -R ./schemas $(PYTHON_SCHEMAS)`

(with PYTHON_SCHEMAS := ./python/$(PYTHON_PKGNAME)/schemas)

However, if python/mozilla_nimbus_shared/schemas already exists when you run make, you end up with a second copy of the schemas at python/mozilla_nimbus_shared/schemas/schemas which are up-to-date and out-of-date schemas at python/mozilla_nimbus_shared/schemas