Browse Source

Initial CLI sources for node

Josh Engebretson 10 years ago
parent
commit
c675ac819f
5 changed files with 32 additions and 2 deletions
  1. 5 0
      CLI/README.md
  2. 2 0
      CLI/cli.js
  3. 0 0
      CLI/index.js
  4. 25 0
      CLI/package.json
  5. 0 2
      Source/ToolCore/Build/BuildSystem.h

+ 5 - 0
CLI/README.md

@@ -0,0 +1,5 @@
+# Atomic CLI
+
+The Atomic Game Engine command-line tool. Visit [AtomicGameEngine.com] for more information.
+
+[AtomicGameEngine.com]: http://AtomicGameEngine.com

+ 2 - 0
CLI/cli.js

@@ -0,0 +1,2 @@
+
+ console.print("hello");

+ 0 - 0
CLI/index.js


+ 25 - 0
CLI/package.json

@@ -0,0 +1,25 @@
+{
+  "author": {
+    "email": "[email protected]",
+    "name": "Atomic Game Engine",
+    "url": "http://www.AtomicGameEngine.com"
+  },
+  "bin": { "atomic-cli" : "./cli.js" },
+  "bugs": {
+    "url": "https://github.com/AtomicGameEngine/AtomicGameEngine/issues"
+  },
+  "dependencies": {
+    "websocket": "~1.0.8"
+  },
+  "description": "CLI for the Atomic Game Engine",
+  "engines": {
+    "node": ">=0.8.0"
+  },
+  "homepage": "http://www.AtomicGameEngine.com",
+  "license": "MIT",
+  "main": "index.js",
+  "name": "atomic-cli",
+  "preferGlobal": true,
+  "repository": "https://github.com/AtomicGameEngine/AtomicGameEngine",
+  "version": "0.2.0"
+}

+ 0 - 2
Source/ToolCore/Build/BuildSystem.h

@@ -40,8 +40,6 @@ private:
     SharedPtr<BuildSettings> buildSettings_;
     SharedPtr<BuildBase> currentBuild_;
 
-    void HandleEditorBuild(StringHash eventType, VariantMap& eventData);
-    void HandleEditorShutdown(StringHash eventType, VariantMap& eventData);
 };