adding fmt third_party library + adding cloc support
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
third_party
|
||||||
|
build
|
||||||
|
__dump
|
||||||
|
traces
|
||||||
|
.vscode
|
||||||
|
.claude
|
||||||
|
.git
|
||||||
|
imgui.ini
|
||||||
@@ -14,3 +14,6 @@
|
|||||||
[submodule "third_party/ImGuizmo"]
|
[submodule "third_party/ImGuizmo"]
|
||||||
path = third_party/ImGuizmo
|
path = third_party/ImGuizmo
|
||||||
url = https://github.com/CedricGuillemet/ImGuizmo.git
|
url = https://github.com/CedricGuillemet/ImGuizmo.git
|
||||||
|
[submodule "third_party/fmt"]
|
||||||
|
path = third_party/fmt
|
||||||
|
url = https://github.com/fmtlib/fmt
|
||||||
|
|||||||
@@ -96,6 +96,13 @@ class DevCommand(GiteaCommand, RenderDocCommand, ShadersCommand, TracyCommand):
|
|||||||
|
|
||||||
# Custom helpers
|
# Custom helpers
|
||||||
|
|
||||||
|
##
|
||||||
|
# Counts lines of code from the project root, skipping paths listed in
|
||||||
|
# .clocignore. Any arguments are passed through to cloc.
|
||||||
|
# dev cloc [args...]
|
||||||
|
def cloc(self, *args, **kwargs):
|
||||||
|
self._run_in_root(["cloc", "--exclude-list-file=.clocignore", *args, "."])
|
||||||
|
|
||||||
def ownit(self, *args, **kwargs):
|
def ownit(self, *args, **kwargs):
|
||||||
file_or_directory = args[0] if args else None
|
file_or_directory = args[0] if args else None
|
||||||
if file_or_directory is None:
|
if file_or_directory is None:
|
||||||
|
|||||||
+1
Submodule third_party/fmt added at 4afd0e498e
Reference in New Issue
Block a user