hashicorp / sentinel-sdk

This SDK allows developers to extend Sentinel to source external information for use in their policies.
Mozilla Public License 2.0
51 stars 13 forks source link

Use .exe extension on built imports #51

Closed glennsarti closed 2 years ago

glennsarti commented 2 years ago

Previous the testing framework would build the import without a .exe extension on Windows. This meant that sentinel could not craft a configuration which would make it execute the import file. In turn this meant that the SDK could not be used to test imports on Windows systems which is one of the use cases for this SDK

This commit updates the import builder to add the .exe extension on Windows systems.

glennsarti commented 2 years ago

Without this PR, sentinel itself will fail all import tests on Windows 😢

glennsarti commented 2 years ago

Closing in favour of #52