mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
Java/C#: Delete old model generator scripts and rename the new ones.
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import sys
|
||||
import os.path
|
||||
import subprocess
|
||||
|
||||
# Add Model as Data script directory to sys.path.
|
||||
gitroot = subprocess.check_output(["git", "rev-parse", "--show-toplevel"]).decode("utf-8").strip()
|
||||
madpath = os.path.join(gitroot, "misc/scripts/models-as-data/")
|
||||
sys.path.append(madpath)
|
||||
|
||||
import generate_flow_model_extensions as model
|
||||
|
||||
language = "java"
|
||||
model.Generator.make(language).run()
|
||||
Reference in New Issue
Block a user