refactor: build plugin

This commit is contained in:
debugtalk
2022-06-13 23:27:25 +08:00
parent 182d2fd5d8
commit 9de49a1d29
11 changed files with 93 additions and 300 deletions

View File

@@ -1,15 +1,12 @@
# NOTE: Generated By hrp {{ .Version }}, DO NOT EDIT!
{{ range $import := .Imports }}
{{- $import}}
{{ end }}
{{ range $fromImport := .FromImports }}
{{- $fromImport}}
{{ end }}
import sys
import os
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from debugtalk import *
{{ range $function := .Functions }}
{{- $function }}
{{ end }}
if __name__ == "__main__":
import funppy