예제 #1
0
        private bool IsEnabledForMultiPlatformBuild(IProgrammingPlatform platform, BuildScriptGeneratorContext context)
        {
            if (context.DisableMultiPlatformBuild)
            {
                return(false);
            }

            return(platform.IsEnabledForMultiPlatformBuild(context));
        }
예제 #2
0
        private bool IsEnabledForMultiPlatformBuild(IProgrammingPlatform platform, DockerfileContext ctx)
        {
            if (ctx.DisableMultiPlatformBuild)
            {
                return(false);
            }

            return(platform.IsEnabledForMultiPlatformBuild(ctx));
        }
        private bool IsEnabledForMultiPlatformBuild(IProgrammingPlatform platform, RepositoryContext ctx)
        {
            if (_commonOptions.EnableMultiPlatformBuild)
            {
                return(platform.IsEnabledForMultiPlatformBuild(ctx));
            }

            return(false);
        }