Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2e #5

Merged
merged 11 commits into from
Dec 31, 2016
Merged

E2e #5

merged 11 commits into from
Dec 31, 2016

Conversation

aidansteele
Copy link
Contributor

No description provided.

mutating func write(_ string: String) {
FileHandle.standardError.write(string.data(using: .utf8)!)
}
}

static func piped(command: String, label: String?) -> (Int, String, String) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines should not have trailing whitespace.



var redir = Redir()

if label != nil {
print("\(label!): ".green + command.bold.green)
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines should not have trailing whitespace.

if label != nil {
print("\(label!): ".green + command.bold.green)
}

let exitCode = ShellCommand.command(command: command, stdout: { line in
print("\(prefix): ".green + line)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines should not have trailing whitespace.

"RUN swift build",
"WORKDIR .build/debug",
"RUN mv <packageName> swiftdaEntrypoint",
"RUN zip /app/lambda.zip swiftdaEntrypoint",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing commas in arrays and dictionaries should be avoided/enforced.

@aidansteele aidansteele merged commit 3051017 into master Dec 31, 2016
@aidansteele aidansteele deleted the e2e branch December 31, 2016 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants