What's the command line equivalent of compiling in VS Code?
See original GitHub issueI’ve tried the following but that doesn’t give me the json files in the /bin/contracts folder
solc --bin --abi --optimize -o ./bin/contracts --overwrite ./contracts/*.sol
I tried adding the --standard-json
option but it just hangs solc
My motivation is to have something like the following in my package.json
file so developers who are not using VS Code can still compile my project.
"scripts": {
"buildSol": "solc --bin --abi --optimize -o ./bin/contracts --overwrite ./contracts/*.sol",
"buildJS": "tsc",
"test": "jest"
},
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Command Line Interface (CLI) - Visual Studio Code
Visual Studio Code has a powerful command-line interface built-in that lets you control how you launch the editor. You can open files, install...
Read more >Walkthrough: Compile a C program on the command line
The Build Tools for Visual Studio version of Visual Studio installs only the command-line toolset, the compilers, tools, and libraries you ...
Read more >How do I set up Visual Studio Code to compile C++ code?
Open your C++ code file in Text Editor, then use shortcut Ctrl+Alt+N , or press F1 and then select/type Run Code , or...
Read more >Build and Run a Sample Project Using Visual Studio Code
Prepare Build Tasks from Make / CMake Files · Press. Ctrl+Shift+P or. View -> Command Palette… · Type. Intel oneAPI. and select. Intel...
Read more >How to run a C program in Visual Studio Code
A MinGW is an advanced GCC compiler software used to compile and execute code. It is software that supports only the window operating...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes I thought that myself, good call.
You mean
#solc-tooling
? Pinging @franzihei.