Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
remove near build
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedotexe committed Jul 9, 2020
1 parent 91e22e2 commit a18c083
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ near <command>

#### For smart contract:
```bash
near build # build your smart contract
near deploy # deploy your smart contract
near call <contractName> <methodName> [args] # schedule smart contract call which can modify state
near view <contractName> <methodName> [args] # make smart contract call which can view state
Expand Down
7 changes: 0 additions & 7 deletions bin/near-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ const callViewFunction = {
handler: exitOnError(main.callViewFunction)
};

const build = {
command: 'build',
desc: 'build your smart contract',
handler: exitOnError(main.build)
};

const clean = {
command: 'clean',
desc: 'clean the build environment',
Expand Down Expand Up @@ -196,7 +190,6 @@ yargs // eslint-disable-line
.command(deleteAccount)
.command(keys)
.command(require('../commands/tx-status'))
.command(build)
.command(deploy)
.command(require('../commands/dev-deploy'))
.command(require('../commands/call'))
Expand Down
13 changes: 0 additions & 13 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,3 @@ exports.stake = async function (options) {
const result = await account.stake(qs.unescape(options.stakingKey), utils.format.parseNearAmount(options.amount));
console.log(inspectResponse(result));
};

exports.build = async function () {
const gulp = spawn('gulp', [], { shell: process.platform == 'win32' });
gulp.stdout.on('data', function (data) {
console.log(data.toString());
});
gulp.stderr.on('data', function (data) {
console.log(data.toString());
});
gulp.on('exit', function (code) {
process.exit(code);
});
};

0 comments on commit a18c083

Please sign in to comment.