mirror of
https://github.com/SikongJueluo/cc-utils.git
synced 2025-11-04 19:27:50 +08:00
reconstruct: project compile
This commit is contained in:
10
.justfile
10
.justfile
@@ -5,21 +5,21 @@ sync-path := if os_family() == "windows" { "/cygdrive/c/Users/sikongjueluo/AppDa
|
||||
build: build-autocraft build-accesscontrol build-test build-example sync
|
||||
|
||||
build-autocraft:
|
||||
pnpm tstl -p ./tsconfig.autocraft.json
|
||||
pnpm tstl -p ./targets/tsconfig.autocraft.json
|
||||
|
||||
build-accesscontrol:
|
||||
pnpm tstl -p ./tsconfig.accesscontrol.json
|
||||
pnpm tstl -p ./targets/tsconfig.accesscontrol.json
|
||||
|
||||
build-test:
|
||||
pnpm tstl -p ./tsconfig.test.json
|
||||
pnpm tstl -p ./targets/tsconfig.test.json
|
||||
|
||||
build-example: build-tuiExample build-cliExample
|
||||
|
||||
build-tuiExample:
|
||||
pnpm tstl -p ./tsconfig.tuiExample.json
|
||||
pnpm tstl -p ./targets/tsconfig.tuiExample.json
|
||||
|
||||
build-cliExample:
|
||||
pnpm tstl -p ./tsconfig.cliExample.json
|
||||
pnpm tstl -p ./targets/tsconfig.cliExample.json
|
||||
|
||||
sync:
|
||||
rsync --delete -r "./build/" "{{ sync-path }}"
|
||||
|
||||
9
targets/tsconfig.accesscontrol.json
Normal file
9
targets/tsconfig.accesscontrol.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"extends": "../tsconfig.json",
|
||||
"tstl": {
|
||||
"luaBundle": "../build/accesscontrol.lua",
|
||||
"luaBundleEntry": "../src/accesscontrol/main.ts"
|
||||
},
|
||||
"include": ["../src/accesscontrol/*.ts"]
|
||||
}
|
||||
9
targets/tsconfig.autocraft.json
Normal file
9
targets/tsconfig.autocraft.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"extends": "../tsconfig.json",
|
||||
"tstl": {
|
||||
"luaBundle": "../build/autocraft.lua",
|
||||
"luaBundleEntry": "../src/autocraft/main.ts"
|
||||
},
|
||||
"include": ["../src/autocraft/*.ts"]
|
||||
}
|
||||
9
targets/tsconfig.cliExample.json
Normal file
9
targets/tsconfig.cliExample.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"extends": "../tsconfig.json",
|
||||
"tstl": {
|
||||
"luaBundle": "../build/cliExample.lua",
|
||||
"luaBundleEntry": "../src/cliExample/main.ts"
|
||||
},
|
||||
"include": ["../src/cliExample/*.ts", "../src/lib/ccCLI/*.ts"]
|
||||
}
|
||||
9
targets/tsconfig.test.json
Normal file
9
targets/tsconfig.test.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"extends": "../tsconfig.json",
|
||||
"tstl": {
|
||||
"luaBundle": "../build/test.lua",
|
||||
"luaBundleEntry": "../src/test/main.ts"
|
||||
},
|
||||
"include": ["../src/test/*.ts"]
|
||||
}
|
||||
9
targets/tsconfig.tuiExample.json
Normal file
9
targets/tsconfig.tuiExample.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"extends": "../tsconfig.json",
|
||||
"tstl": {
|
||||
"luaBundle": "../build/tuiExample.lua",
|
||||
"luaBundleEntry": "../src/tuiExample/main.ts"
|
||||
},
|
||||
"include": ["../src/tuiExample/*.ts", "../src/lib/ccTUI/*.ts"]
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"extends": "./tsconfig.json",
|
||||
"tstl": {
|
||||
"luaBundle": "build/accesscontrol.lua",
|
||||
"luaBundleEntry": "src/accesscontrol/main.ts"
|
||||
},
|
||||
"include": ["src/accesscontrol/*.ts"]
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"extends": "./tsconfig.json",
|
||||
"tstl": {
|
||||
"luaBundle": "build/autocraft.lua",
|
||||
"luaBundleEntry": "src/autocraft/main.ts"
|
||||
},
|
||||
"include": ["src/autocraft/*.ts"]
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"extends": "./tsconfig.json",
|
||||
"tstl": {
|
||||
"luaBundle": "build/cliExample.lua",
|
||||
"luaBundleEntry": "src/cliExample/main.ts"
|
||||
},
|
||||
"include": ["src/cliExample/*.ts", "src/lib/ccCLI/*.ts"]
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"extends": "./tsconfig.json",
|
||||
"tstl": {
|
||||
"luaBundle": "build/test.lua",
|
||||
"luaBundleEntry": "src/test/main.ts"
|
||||
},
|
||||
"include": ["src/test/*.ts"]
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json",
|
||||
"extends": "./tsconfig.json",
|
||||
"tstl": {
|
||||
"luaBundle": "build/tuiExample.lua",
|
||||
"luaBundleEntry": "src/tuiExample/main.ts"
|
||||
},
|
||||
"include": ["src/tuiExample/*.ts", "src/lib/ccTUI/*.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user