RyanHendricks / doxity-simpleton

Solidity Documentation

Home Page:https://ryanhendricks.github.io/doxity-simpleton/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

With truffle.js not compiling

scientistnik opened this issue · comments

All work fine, but if create file touch truffle.js contracts not compiling: SyntaxError: Error parsing
It don't know interface!

But if delete truffle.js it write interfaces is not a valid file. Skipping.

commented

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.

commented

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.