Skip to content

Commit

Permalink
always compile templates without a bloop server
Browse files Browse the repository at this point in the history
  • Loading branch information
lbialy committed Oct 1, 2024
1 parent 400b29a commit 1fdee2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,8 @@ test-template template-name:
@echo "----------------------------------------"
@echo "Testing template {{template-name}}"
pulumi --non-interactive --logtostderr --color=never --emoji=false new -y --force --generate-only --dir target/test/{{template-name}} -n templates-test-{{template-name}} --stack templates-test-{{template-name}} ../../../templates/{{template-name}}/
scala-cli compile {{no-bloop}} target/test/{{template-name}} {{ci-opts}} --suppress-experimental-feature-warning --suppress-directives-in-multiple-files-warning
# TODO drop snapshots
scala-cli compile --server=false --repository=sonatype:snapshots target/test/{{template-name}} {{ci-opts}} --suppress-experimental-feature-warning --suppress-directives-in-multiple-files-warning

# Cleans after a template test
clean-test-template template-name:
Expand All @@ -483,6 +484,7 @@ test-example example-name:
#!/usr/bin/env bash
echo "----------------------------------------"
echo "Testing example {{example-name}}"
# TODO drop snapshots
scala-cli compile --server=false examples/{{example-name}} --repository=sonatype:snapshots {{ci-opts}} --suppress-experimental-feature-warning --suppress-directives-in-multiple-files-warning
# Cleans after an example test
Expand Down

0 comments on commit 1fdee2b

Please sign in to comment.