Skip to content

Commit

Permalink
New Examples
Browse files Browse the repository at this point in the history
Adds new examples for 201, 202, and 203
Adds workspace file
Updates automation to include new files in manifest file generation
  • Loading branch information
raganmd committed Aug 27, 2024
1 parent bfc2d52 commit ccfd812
Show file tree
Hide file tree
Showing 29 changed files with 44 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build_file_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@
repo_name = "CurriculumExamples"
branch_name = "main"

#NOTE - download_link_structs
# NOTE - download_link_structs
link_struct = "https://github.com/{repo_owner}/{repo_name}/raw/{branch_name}/{asset_path}"
navigator_link_struct = "?actionable=1&action=load_tox&remotePath={url}"

# NOTE - directories that will be used to generate manifest and download lists
new_release_paths = [
'toxExamples/sweet16',
'toxExamples/TouchDesignerFundamentals/100']
'toxExamples/TouchDesignerFundamentals/100',
'toxExamples/TouchDesignerFundamentals/200',
]

archive_dir = 'toxExamples/_zipped'

Expand Down Expand Up @@ -66,7 +68,7 @@
manifest_file.write(f'{tox_url}\n')

# generate curriculum links
print(f"---> Creating curriculum links {curriculum_links}")
print(f"---> Creating curriculum links {curriculum_links}")
with open(curriculum_links, 'w') as curriculum_links_file:
header_line = f"Curriculum links Manifest | Last Modified {datetime.datetime.now()}\n \n"
curriculum_links_file.write(header_line)
Expand All @@ -87,7 +89,7 @@

print("- "*10, '\n', "-> Automated file generation completed\n", "- "*10)

#NOTE creates zips of TOX directories
# NOTE creates zips of TOX directories

# ensure archive directory exists
if os.path.exists(archive_dir):
Expand All @@ -104,4 +106,4 @@
if os.path.exists(new_archive):
print(f'-> {new_archive} created')
else:
print(f'-> {new_archive} Archive Generation failed')
print(f'-> {new_archive} Archive Generation failed')
25 changes: 25 additions & 0 deletions .workspaces/200-series.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"folders": [
{
"name": "Sudo Widgets",
"path": "../TouchDesigner-Fundamentals/dev/200",
"cwd": "${workspaceFolder}",
},
],
"settings": {
"files.exclude": {
".dart_tool": true,
".idea": true,
"android": true,
"ios": true,
"linux": true,
"macos": true,
".flutter-plugins*": true,
".metadata": true,
"analysis_options.yaml": true,
"dashboard.iml": true,
"pubspec.lock": true,
"LICENSE": true,
},
}
}
12 changes: 12 additions & 0 deletions .workspaces/tox-automation.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"folders": [
{
"name": "Automation",
"path": "../.github/workflows",
"cwd": "${workspaceFolder}",
},
],
"settings": {
"workbench.colorTheme": "Crackpot Contrast (rainglow)"
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit ccfd812

Please sign in to comment.