Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
feat: add tooth.json and fix xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
killcerr committed Feb 12, 2024
1 parent b290e33 commit f83d4bd
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
27 changes: 27 additions & 0 deletions tooth.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"format_version": 2,
"tooth": "github.com/killcerr/pocketpy-loader",
"version": "0.0.1",
"info": {
"name": "pocketpy-loader",
"description": "a simple python plugin loader that use pocketpy to implement",
"author": "killcerr",
"tags": ["loader", "levilamina"]
},
"dependencies": {},
"platforms": [
{
"goos": "windows",
"goarch": "amd64",
"asset_url": "https://github.com/killcerr/pocketpy-loader/releases/download/v0.0.1/pocketpy-loader.zip",
"files": {
"place": [
{
"src": "pocketpy-loader/*",
"dest": "plugins/pocketpy-loader/"
}
]
}
}
]
}
6 changes: 3 additions & 3 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ add_rules("mode.debug", "mode.release", "mode.releasedbg")

add_repositories("liteldev-repo https://github.com/LiteLDev/xmake-repo.git")

add_requires("levilamina")
add_requires("levilamina","dyncall")

set_runtimes("MD")

Expand All @@ -23,15 +23,15 @@ target("pocketpy-loader")
"src"
)
add_packages(
"levilamina"
"levilamina",
"dyncall"
)
add_shflags(
"/DELAYLOAD:bedrock_server.dll"
)
set_exceptions("none")
set_kind("shared")
set_languages("cxx23")

after_build(function (target)
local plugin_packer = import("scripts.after_build")

Expand Down

0 comments on commit f83d4bd

Please sign in to comment.