Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 2x 2x 2x 2x 2x 2x 2x | import { commandExistsSync, executeAsync } from '../systemTools/exec'; import BasePlatformSetup from './base'; import Config from '../config'; class LinuxPlatformSetup extends BasePlatformSetup { constructor() { super('darwin'); } async installFastlane() { const c = Config.getConfig(); if (commandExistsSync('brew')) { return executeAsync(c, 'brew cask install fastlane', { interactive: true }); } return executeAsync(c, 'sudo gem install fastlane -NV', { interactive: true }); } async installDocker() { throw new Error('Automated Docker install is not supported on this platform. Please go to https://hub.docker.com/editions/community/docker-ce-desktop-mac and install it manually. Then rerun this command'); } } export default LinuxPlatformSetup; |