Skip to content

Commit

Permalink
CodeGen: Move CustomTypes to templates/custom_types
Browse files Browse the repository at this point in the history
  • Loading branch information
rlabrecque committed Nov 7, 2021
1 parent ef90d16 commit 8dc3a97
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CodeGen/src/typedefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ def main(parser):
with open("templates/typetemplate.txt", "r") as f:
template = f.read()

for root, directories, filenames in os.walk('CustomTypes/'):
for root, directories, filenames in os.walk('templates/custom_types/'):
for filename in filenames:
outputdir = "../com.rlabrecque.steamworks.net/Runtime/types/" + root[len('CustomTypes/'):]
outputdir = "../com.rlabrecque.steamworks.net/Runtime/types/" + root[len('templates/custom_types/'):]
try:
os.makedirs(outputdir)
except OSError:
Expand Down

0 comments on commit 8dc3a97

Please sign in to comment.