Skip to content

Commit

Permalink
prepub
Browse files Browse the repository at this point in the history
  • Loading branch information
nsjames committed Aug 6, 2019
1 parent e78a613 commit 3436ceb
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/bitcoin/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const rimraf = require("rimraf");
const paths = __dirname.split(path.sep);
const parent = paths[paths.length-2];

if(parent === 'packages') return;

rimraf.sync("./__tests__");
const files = fs.readdirSync(`./dist`);
files.map(file => {
Expand Down
2 changes: 2 additions & 0 deletions packages/core/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const rimraf = require("rimraf");
const paths = __dirname.split(path.sep);
const parent = paths[paths.length-2];

if(parent === 'packages') return;

rimraf.sync("./__tests__");
const files = fs.readdirSync(`./dist`);
files.map(file => {
Expand Down
2 changes: 2 additions & 0 deletions packages/eosio/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const rimraf = require("rimraf");
const paths = __dirname.split(path.sep);
const parent = paths[paths.length-2];

if(parent === 'packages') return;

rimraf.sync("./__tests__");
const files = fs.readdirSync(`./dist`);
files.map(file => {
Expand Down
2 changes: 2 additions & 0 deletions packages/ethereum/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const rimraf = require("rimraf");
const paths = __dirname.split(path.sep);
const parent = paths[paths.length-2];

if(parent === 'packages') return;

rimraf.sync("./__tests__");
const files = fs.readdirSync(`./dist`);
files.map(file => {
Expand Down
2 changes: 2 additions & 0 deletions packages/tron/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const rimraf = require("rimraf");
const paths = __dirname.split(path.sep);
const parent = paths[paths.length-2];

if(parent === 'packages') return;

rimraf.sync("./__tests__");
const files = fs.readdirSync(`./dist`);
files.map(file => {
Expand Down
2 changes: 2 additions & 0 deletions scripts/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const rimraf = require("rimraf");
const paths = __dirname.split(path.sep);
const parent = paths[paths.length-2];

if(parent === 'packages') return;

rimraf.sync("./__tests__");
const files = fs.readdirSync(`./dist`);
files.map(file => {
Expand Down

0 comments on commit 3436ceb

Please sign in to comment.