First time here? Check out the Help page!
1 | initial version |
A measure must follow a given structure. Your broken example does not follow the expected convention.
In a measure, the only top-level allowed files are: * measure.(rb|py|xml) * README.md, README.md.erb, LICENSE.md
Only these subfolders are approved: * docs * tests * resources
Anything outside of that is NOT copied.
This is actually documented properly: https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#measure-file-structure
So place my_choice_constants
at resources/my_choice_constants
and adjust the require clause, and you should be good to go.
2 | No.2 Revision |
A measure must follow a given structure. Your broken example does not follow the expected convention.
In a measure, the only top-level allowed files are:
* measure.(rb|py|xml)
* are:
Only these subfolders are approved: * docs * tests * resources
Anything outside of that is NOT copied.
This is actually documented properly: https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#measure-file-structure
So place my_choice_constants
at resources/my_choice_constants
and adjust the require clause, and you should be good to go.
3 | No.3 Revision |
A measure must follow a given structure. Your broken example does not follow the expected convention.
In a measure, the only top-level allowed files are:
Only these subfolders are approved: * docs * tests * resources
Anything outside of that is NOT copied.
This is actually documented properly: https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#measure-file-structure
So place
at my_choice_constantsmy_choice_constants.rb
and adjust the require clause, and you should be good to go.resources/my_choice_constantsresources/my_choice_constants.rb
4 | No.4 Revision |
A measure must follow a given structure. Your broken example does not follow the expected convention.
In a measure, the only top-level allowed files are:
Only these subfolders are approved:
* docs
* tests
* approved:
Anything outside of that is NOT copied.
This is actually documented properly: https://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/#measure-file-structure
So place my_choice_constants.rb
at resources/my_choice_constants.rb
and adjust the require clause, and you should be good to go.