Skip to content

Commit

Permalink
Fix bugs from previous commit and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
alcuadrado committed Jan 28, 2019
1 parent e6ea792 commit a7ea257
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ You can leverage buidler's infrastructure and configuration in your own scripts.

By running them with `buidler run <path>` [the buidler environment](#the-buidler-environment) will be initialized, making all of its properties globally available. Your contracts will be compiled before if necessary.

You can also run them without using `buidler`, you just need to import [the buidler environment](#the-buidler-environment) with `require("buidler")`. If you run them this way, you have to use environment variables to pass arguments to buidler (e.g. NETWORK=develop).
You can also run them without using `buidler`, you just need to import [the buidler environment](#the-buidler-environment) with `require("@nomiclabs/buidler")`. If you run them this way, you have to use environment variables to pass arguments to buidler (e.g. NETWORK=develop).

## The buidler environment

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nomiclabs/buidler",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"author": "Nomic Labs SRL",
"license": "MIT",
"homepage": "https://github.com/nomiclabs/buidler",
Expand Down
2 changes: 1 addition & 1 deletion sample-project/scripts/sample-script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const env = require("buidler");
const env = require("@nomiclabs/buidler");

async function main() {
await env.run("compile");
Expand Down
2 changes: 1 addition & 1 deletion test/internal/util/packageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
describe("packageInfo", () => {
it("Should give the right package.json", async () => {
const packageJson = await getPackageJson();
assert.equal(packageJson.name, "buidler");
assert.equal(packageJson.name, "@nomiclabs/buidler");
// We don't test the version number because that would be hard to maintain
assert.isString(packageJson.version);
});
Expand Down

0 comments on commit a7ea257

Please sign in to comment.