feat(calculator): support generate PerformanceAttributes & DifficultyAttributes from JSON Schema (#59)
Prepare for custom rulesets. Schema Genetator: https://github.com/GooGuTeam/custom-rulesets/tree/main/CustomRulesetMetadataGenerator ```bash dotnet -- schemas path/to/rulesets -o schema.json ``` ```bash python scripts/generate_ruleset_attributes.py schema.json ```
This commit is contained in:
@@ -6,7 +6,7 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- "app/config.py"
|
||||
- ".github/scripts/generate_config_doc.py"
|
||||
- "scripts/generate_config_doc.py"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
- name: Generate Markdown
|
||||
run: |
|
||||
cd project
|
||||
python ./.github/scripts/generate_config_doc.py ${{ github.sha }} > ../wiki/Configuration.md
|
||||
python ./scripts/generate_config_doc.py ${{ github.sha }} > ../wiki/Configuration.md
|
||||
|
||||
- name: Commit and push to Wiki
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user