mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Include license text in emscripten output
This commit is contained in:
parent
0b99c81f85
commit
412802a6c1
@ -41,6 +41,8 @@
|
||||
#include <libsolidity/ast/ASTJsonConverter.h>
|
||||
#include <libsolidity/interface/Version.h>
|
||||
|
||||
#include "license.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace dev;
|
||||
using namespace solidity;
|
||||
@ -305,6 +307,11 @@ static string s_outputBuffer;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
extern char const* license()
|
||||
{
|
||||
/// TOOD: include the copyright information on the top.
|
||||
return licenseText;
|
||||
}
|
||||
extern char const* version()
|
||||
{
|
||||
return VersionString.c_str();
|
||||
|
Loading…
Reference in New Issue
Block a user