AliSoftware / OHHTTPStubs

Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
MIT License
5.03k stars 602 forks source link

Add missing import to support building with Bazel #319

Closed thii closed 3 years ago

thii commented 4 years ago

Checklist

Description

Add missing import to support building with Bazel, since it doesn't import underlying system modules by default.

Motivation and Context

jeffctown commented 4 years ago

@thii Hey! Thanks so much for putting this up. If you edit the changelog for this PR, I don't see a problem merging it in.

Do you by any chance have the time to add a BUILD file so other Bazel users can integrate with this repo easily?

thii commented 4 years ago

@jeffctown Unfortunately we can't open source the BUILD file for it now.

This only adds a missing import (which implicitly gets imported if building with Xcode) so I think it's OK to skip the changelog to keep it clean.

thii commented 4 years ago

I've updated the changelog and added a BUILD file for it.

thii commented 3 years ago

Looks like the BUILD file was moved to a different directory, probably unintentionally?

jeffctown commented 3 years ago

@thii good catch. I'm not sure how that happened, but I'll clean it up this weekend and do a v10 release.