* Remove redundant implementations of objdump function
* Add support for ELF Tool Chain and LLVM objdump
Only binutils supports --insn-width and LLVM uses --x86-asm-syntax=intel
rather than -M intel. The default remains binutils.
* basic supportsExecute filter
* dont mess up existing compiler selections
* dont execute if the compiler doesn't support it, do try to build still
* disable execute for clang arm compilers
* require at least 1 supportsExecute before default adding and selecting anything
* gcc 1.27 dont execute
* get rid of -Wl,-rpath error message
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible
In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules
This PR attempts to not change code behavior when possible. In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the
code base to silence the error. You can find these by searching for `eslint-disable-next-line`.
Co-authored-by: Austin Morton <austinpmorton@gmail.com>
Async-ify base-compiler
* Adds async to a number of methods
* Breaks 'compile' into a few smaller methods for readability
* Remove a few (seemingly!) unnecessary `Promise.all([x])`
* Merge both compilerProps functions to general case
* Move compilerProps to lib/properties.js
It's now its own class, which takes a languages object + the ceProps
function to calMove compilerProps to lib/properties.js
* Add compilerProps behvaiour tests
* Add unknown language test