abrisco / rules_ansible

Bazel rules for Ansible
5 stars 1 forks source link

Add incompatibility notice for windows to README #25

Open RobertDiebels opened 8 months ago

RobertDiebels commented 8 months ago

Hi,

I tried out the rules you wrote, however I found out that environment-variable WINDOWSSDKDIR was not being set by one of the dependencies (CPP) of your rules.

I had to go through the cpp bazel rules to figure out how to set it and then pass:

--action_env=BAZEL_WINSDK_FULL_VERSION=10 
--action_env=BAZEL_VC='C:\Program Files (x86)\Microsoft Visual Studio\2019'

Only to be faced with this error message:

ERROR: no such package '@@rules_ansible.pip_will_not_work_on_windows_try_from_wsl_instead//': The repository '@@rules_ansible.pip_will_not_work_on_windows_try_from_wsl_instead' could not be resolved: Repository '@@rules_ansible.pip_will_not_wor
k_on_windows_try_from_wsl_instead' is not defined

Please add an incompatibility notice for windows to your README to save other people some time.

abrisco commented 7 months ago

Sorry for the delay and thanks for the report!

I just filed https://github.com/abrisco/rules_ansible/issues/26, would you be willing to put up a PR to update the docs?