From ddfa4445ae237cb72a73d2633124d2cc8310945d Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Fri, 1 Oct 2021 13:11:57 +0200 Subject: [PATCH] Fixed: Move the 'objj' tool to the right place --- CommonJS/bin/objj | 3 --- Objective-J/CommonJS/bin/objj | 4 ++-- dist/cappuccino/bin/objj | 3 --- dist/objective-j/bin/objj | 4 ++-- package.json | 2 +- 5 files changed, 5 insertions(+), 11 deletions(-) delete mode 100755 CommonJS/bin/objj delete mode 100755 dist/cappuccino/bin/objj diff --git a/CommonJS/bin/objj b/CommonJS/bin/objj deleted file mode 100755 index 24c0c216c..000000000 --- a/CommonJS/bin/objj +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env node - -require("@objj/runtime").run(process.argv.slice(1)); diff --git a/Objective-J/CommonJS/bin/objj b/Objective-J/CommonJS/bin/objj index a68e90737..24c0c216c 100755 --- a/Objective-J/CommonJS/bin/objj +++ b/Objective-J/CommonJS/bin/objj @@ -1,3 +1,3 @@ -#!/usr/bin/env narwhal +#!/usr/bin/env node -require("objective-j").run(system.args); +require("@objj/runtime").run(process.argv.slice(1)); diff --git a/dist/cappuccino/bin/objj b/dist/cappuccino/bin/objj deleted file mode 100755 index 24c0c216c..000000000 --- a/dist/cappuccino/bin/objj +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env node - -require("@objj/runtime").run(process.argv.slice(1)); diff --git a/dist/objective-j/bin/objj b/dist/objective-j/bin/objj index a68e90737..24c0c216c 100755 --- a/dist/objective-j/bin/objj +++ b/dist/objective-j/bin/objj @@ -1,3 +1,3 @@ -#!/usr/bin/env narwhal +#!/usr/bin/env node -require("objective-j").run(system.args); +require("@objj/runtime").run(process.argv.slice(1)); diff --git a/package.json b/package.json index 777ce5ed0..eee870bb3 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "nib2cib": "dist/cappuccino/bin/nib2cib", "ojdepcheck": "dist/cappuccino/bin/ojdepcheck", "press": "dist/cappuccino/bin/press", - "objj": "dist/cappuccino/bin/objj", + "objj": "dist/objective-j/bin/objj", "jake": "dist/cappuccino/bin/jake", "ojtest": "dist/cappuccino/bin/ojtest", "objj2objcskeleton": "dist/cappuccino/bin/objj2objcskeleton"