Skip to content

Commit

Permalink
chore: activate 'rosetta infuse' feature (#17191) (#17305)
Browse files Browse the repository at this point in the history
`jsii-rosetta infuse` will modify all the assemblies in-place to
add examples to types that don't have examples yet.

This feature depends on jsii 1.41, and should not be merged before
jsii has been upgraded to that version (either by #17187 or by #17190).

Depends-On: #17190

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
rix0rrr committed Nov 9, 2021
1 parent d75431b commit cab760b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ function lerna_scopes() {
echo "Extracting code samples" >&2
scripts/run-rosetta.sh $TMPDIR/jsii.txt

echo "Infusing examples back into assemblies" >&2
$ROSETTA infuse \
samples.tabl.json \
$(cat $TMPDIR/jsii.txt)

# Jsii packaging (all at once using jsii-pacmak)
echo "Packaging jsii modules" >&2
$PACMAK \
Expand Down

0 comments on commit cab760b

Please sign in to comment.