Skip to content

Commit

Permalink
node version of local sdk script
Browse files Browse the repository at this point in the history
  • Loading branch information
James Thomas committed Dec 19, 2017
1 parent f77c70e commit c820989
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 30 deletions.
4 changes: 2 additions & 2 deletions helpers/local_sdk_prepare.js → helpers/local_sdk.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const path = require('path');
const localSdk = require(path.join(process.env.BB_SDK_SRC_DIR, 'bespoke-gulp-tasks', 'helpers', 'local_sdk.js'));
const localSDK = require(path.join(process.env.BB_SDK_SRC_DIR, 'bespoke-gulp-tasks', 'helpers', 'local_sdk.js'));
const projectRootPath = path.join(__dirname, '..');

localSdk.prepare(projectRootPath);
localSDK.link(projectRootPath);
20 changes: 0 additions & 20 deletions helpers/local_sdk.sh

This file was deleted.

7 changes: 0 additions & 7 deletions helpers/local_sdk_symlink.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"scripts": {
"i": "rm -rf ./node_modules/bookingbug-angular package-lock.json && npm install --global-style --no-package-lock",
"il": "sh ./helpers/local_sdk.sh",
"il": "node ./helpers/local_sdk.js",
"p": "gulp --root public",
"p-dev": "gulp --root public --env development",
"p-staging": "gulp --root public --env staging",
Expand Down

0 comments on commit c820989

Please sign in to comment.