Open scientistnik opened 6 years ago
Is interface the name of a contract? Also, the compiler used here is solc but try with different solidity files in the contracts directory.
No, interface NameInterface {}
- it is Solidity code!
When I run doxity build
without truffle.js
-file, doxity skipping some file. But when I create truffle.js-file, doxity crash on this files with error parsing.
This most likely stems from an issue still present from the original project which is essentially caused by the compiler version not supporting interface contracts.
I will see if I can't implement a fix or workaround but it most likely won't be in the immediate future unfortunately. If you do manage to fix it yourself in the meantime I would super thankful if you could submit a PR but otherwise I will leave this open for now as a todo.
All work fine, but if create file
touch truffle.js
contracts not compiling: SyntaxError: Error parsing It don't knowinterface
!But if delete truffle.js it write
interfaces is not a valid file. Skipping
.