Skip to content

Commit

Permalink
Drop Fauxhai 6 code
Browse files Browse the repository at this point in the history
Differential Revision: D56024221

fbshipit-source-id: 775d3b568532ab92013708e29e2e3c181949eff4
  • Loading branch information
dafyddcrosby authored and facebook-github-bot committed Apr 15, 2024
1 parent 19ab77f commit 3e3386a
Showing 1 changed file with 16 additions and 36 deletions.
52 changes: 16 additions & 36 deletions spec/fbspec_platforms.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,40 +17,21 @@
# See the License for the specific language governing permissions and
# limitations under the License.

PLATFORMS = if Fauxhai::VERSION.start_with?('6')
{
'default' => {
:centos7 => [
{
'platform' => 'centos',
'version' => '7.3.1611',
},
],
:mac_os_x => [
{
'platform' => 'mac_os_x',
'version' => '10.12',
},
],
},
'extra' => {},
}.freeze
else
{
'default' => {
:centos8 => [
{
'platform' => 'centos',
'version' => '8',
},
],
:mac_os_x => [
{
'platform' => 'mac_os_x',
'version' => '10.15',
},
],
},
PLATFORMS = {
'default' => {
:centos8 => [
{
'platform' => 'centos',
'version' => '8',
},
],
:mac_os_x => [
{
'platform' => 'mac_os_x',
'version' => '10.15',
},
],
},
'extra' => {
:centos7 => [
{
Expand All @@ -59,5 +40,4 @@
},
],
},
}.freeze
end
}.freeze

0 comments on commit 3e3386a

Please sign in to comment.