()
| 143 | } |
| 144 | |
| 145 | async doTheParsing() { |
| 146 | const parser = this.getParser(); |
| 147 | await parser.parse(); |
| 148 | const options = this.compiler.possibleArguments.possibleArguments; |
| 149 | if (parser.hasSupportStartsWith(options, '--target=')) { |
| 150 | console.log('supportsTargetIs'); |
| 151 | } else if (parser.hasSupportStartsWith(options, '--target ')) { |
| 152 | console.log('supportsTarget'); |
| 153 | } else if (parser.hasSupportStartsWith(options, '-target ')) { |
| 154 | console.log('supportsHyphenTarget'); |
| 155 | } else if (parser.hasSupportStartsWith(options, '--march=')) { |
| 156 | console.log('supportsMarch'); |
| 157 | } else { |
| 158 | console.log('none of the things?'); |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | async print() { |
| 163 | const args = _.keys(this.compiler.possibleArguments.possibleArguments); |
no test coverage detected