salesforce / rules_spring

Bazel rule for building Spring Boot apps as a deployable jar
BSD 3-Clause "New" or "Revised" License
224 stars 48 forks source link

Fix and improve Spring Boot rule debugging #148

Open plaird opened 2 years ago

plaird commented 2 years ago

First there is a bug in the debug log lines of the springboot packaging bash script:

The env variable name got lowercased in the script by mistake. Since it is a shell variable it should be put back to all caps, as the documentation describes.

Second, we should make the debug log lines in the springboot.bzl an option via an attribute. Create a new attribute debug that is default False.