Skip to content

Commit

Permalink
schema: Fix make schema
Browse files Browse the repository at this point in the history
Fixes: #3069

I am pretty sure I had this working in some point in that PR, but
in reworking for feedback I broke having `make schema` actually work.

Put the target files in the right place, and fix the namespace.
  • Loading branch information
cgwalters authored and dustymabe committed Sep 13, 2022
1 parent 6138c9f commit acb4294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema/generate-schema.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ cat > "${tdir}/schema_doc.go" <<EOM
// Source hash: ${digest}
// DO NOT EDIT
package cosa
package builds
var generatedSchemaJSON = \`$(< ${schema_json})
\`
EOM

cp -av ${tdir}/*go ${mydir}/cosa/
cp -av ${tdir}/*go ${mydir}/../pkg/builds/

0 comments on commit acb4294

Please sign in to comment.