Skip to content

Commit a8f56dc

Browse files
authored
fix: execution binary (#109)
The execution binary was using the wrong Truffle plugin name. This happened because the package was renamed and the name of the plugin is based on this. Additionally, the non TypeScript files were not included in the package as they were not copied to the distribution folder
1 parent ad25f02 commit a8f56dc

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ module.exports = {
118118
Next, you can run the following truffle command.
119119

120120
```bash
121-
$ truffle run syntest-solidity [options]
121+
$ truffle run @syntest/solidity [options]
122122
```
123123

124124
## Documentation

docker/templates/truffle-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
plugins: ["syntest-solidity"],
2+
plugins: ["@syntest/solidity"],
33
};

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syntest/solidity",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "SynTest Solidity is a tool for automatically generating test cases for the Solidity platform",
55
"keywords": [
66
"syntest",
@@ -20,6 +20,7 @@
2020
"types": "dist/index.d.ts",
2121
"files": [
2222
"/dist",
23+
"/src/**/*.js",
2324
"/api.js",
2425
"/NOTICE"
2526
],

src/util/fileSystem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export async function createTruffleConfig() {
6565
filepath,
6666
`module.exports = {
6767
test_directory: ".syntest/tests",
68-
plugins: ["syntest-solidity"]
68+
plugins: ["@syntest/solidity"]
6969
};`
7070
);
7171
}

truffle-plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"commands": {
3-
"syntest-solidity": "truffle.plugin.js"
3+
"@syntest/solidity": "truffle.plugin.js"
44
}
55
}

0 commit comments

Comments
 (0)