Skip to content

Commit

Permalink
Merge pull request #209 from franklinsch/fix-solc-output
Browse files Browse the repository at this point in the history
Fix issue where solc wouldn't output binary for Flint programs
  • Loading branch information
franklinsch authored May 15, 2018
2 parents fbb6b5d + b81db86 commit eec79e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/flintc/SolcCompiler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct SolcCompiler {

verifySolc(launchPath: process.launchPath!)
process.standardError = Pipe()
process.arguments = [temporaryFile.path, "--bin", emitBytecode ? "--opcodes" : "", "-o", outputDirectory.path]
process.arguments = [temporaryFile.path, "--bin"] + (emitBytecode ? ["--opcodes"] : []) + ["-o", outputDirectory.path]

process.launch()
process.waitUntilExit()
Expand Down

0 comments on commit eec79e1

Please sign in to comment.