Skip to content

Commit

Permalink
Move tools to site_scons/site_tools, which is the canonical scons too…
Browse files Browse the repository at this point in the history
…ls directory.
  • Loading branch information
Ivorforce committed Nov 19, 2024
1 parent c20a84e commit 00766c9
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if profile:
elif os.path.isfile(profile + ".py"):
customs.append(profile + ".py")
opts = Variables(customs, ARGUMENTS)
cpp_tool = Tool("godotcpp", toolpath=["tools"])
cpp_tool = Tool("godotcpp", toolpath=["site_scons/site_tools"])
cpp_tool.options(opts, env)
opts.Update(env)

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tools/godotcpp.py → site_scons/site_tools/godotcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def validate_parent_dir(key, val, env):
def get_platform_tools_paths(env):
path = env.get("custom_tools", None)
if path is None:
return ["tools"]
return [normalize_path(path, env), "tools"]
return ["site_scons/site_tools"]
return [normalize_path(path, env), "site_scons/site_tools"]


def get_custom_platforms(env):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 00766c9

Please sign in to comment.