Merge pull request #2 from Moderlab-Production/develop
Readme documentation
This commit is contained in:
@@ -1,2 +1,22 @@
|
||||
# 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).
|
||||
|
||||
#### Blender addon dependency
|
||||
With all unit test, if your addon request some dependency, add the repo inside the list in `blender_addon.py` and `blender.py`. This system are not perfect and need to be improved.
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user