Add addon folder and small readme files explain

This commit is contained in:
Aurelien Vaillant
2022-01-31 11:50:36 +01:00
parent 378583e958
commit ac4a7e1b11
3 changed files with 19 additions and 2 deletions
View File
+18 -1
View File
@@ -1,2 +1,19 @@
# Blender Addon
Template repository about blender addon.
Template repository about blender addon. To used-it, clone this repository and rename the folder "blender_addon_folder" with your addon name.
Update the file "tests/main.py", line 29, set your addon name.
````python
# Prepare Blender and Unreal dependency
generate_archive(archives, 'blender_addon_folder')
````
> ⚠️ It's more easy to use the "_" with your addon folder name, the "-" character can be problematic with python used.
# Setup Variable
The Github Workflow (CI chain) request some update with each new repository :
- [ ] Env. variable : request the package ex name. Get a better solution to automatically used the folder name ?
# Unit Test
All unit test call the blender docker [stilobique/blender:latest](https://hub.docker.com/repository/docker/stilobique/blender).
+1 -1
View File
@@ -26,7 +26,7 @@ if __name__ == '__main__':
clear_container_test(tag=docker_tag)
# Prepare Blender and Unreal dependency
generate_archive(archives, 'blender-folder')
generate_archive(archives, 'blender_addon_folder')
# Generate Unit Test, a specific call or execute all Unit Test
test_list = None