From 1ff07a2dd48210f1e43d199478ae7ca208cedc8d Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sun, 11 Aug 2024 19:54:52 +0800 Subject: [PATCH] update --- src/CliFunc/project.ts | 1 - src/Store/ProjectStore.ts | 5 ----- src/index.ts | 1 - tests/test2/nmake.ts | 2 +- 4 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 src/Store/ProjectStore.ts diff --git a/src/CliFunc/project.ts b/src/CliFunc/project.ts index f1caa85..3d0aef3 100644 --- a/src/CliFunc/project.ts +++ b/src/CliFunc/project.ts @@ -1,4 +1,3 @@ -import projects from "../Store/ProjectStore" import printDebug from "../Tools/DebugPrint" const project = (name:string,callback:Function) =>{ diff --git a/src/Store/ProjectStore.ts b/src/Store/ProjectStore.ts deleted file mode 100644 index 65b269d..0000000 --- a/src/Store/ProjectStore.ts +++ /dev/null @@ -1,5 +0,0 @@ -import Project from "../Project/Project"; - -const projects:Project[] = [] - -export default projects \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 2e28554..7136cea 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,6 @@ import path from "path"; import printDebug from "./Tools/DebugPrint"; import { existsSync } from "fs"; import printErrorOrDebug from "./Tools/PrintErrorOrDebug"; -import projects from "./Store/ProjectStore"; import constructGlobal from "./Tools/ConstructGlobal"; const argv = require('minimist')(process.argv.slice(2)) diff --git a/tests/test2/nmake.ts b/tests/test2/nmake.ts index 78d02a6..b607159 100644 --- a/tests/test2/nmake.ts +++ b/tests/test2/nmake.ts @@ -1,4 +1,4 @@ -import project from "../../src/CliFunc/project"; +import {project} from "../../src/CliFunc/tools"; project("hello",()=>{