Mustafa Gülmez
Mustafa Gülmez

Reputation: 125

How to build archive with Cake(C# make)

I can build my xamarin project with cake by using this lines of codes:

MSBuild(projectDirectory + @"\MyProject.sln", configurator =>
        configurator.SetConfiguration(configuration)
            .SetVerbosity(Verbosity.Minimal)
            .SetPlatformTarget(PlatformTarget.MSIL)
            .WithTarget("Build")
            .WithProperty("OutputPath", buildDir));

But i want to create google play archive and appstore ipa. After that send this files to stores. How can i do this?

Upvotes: 1

Views: 361

Answers (1)

Rodney Littles
Rodney Littles

Reputation: 564

My question would be, if you did this command line currently, how would you do it?
You can scrape the command line statement and use Start Process in your Cake script to run the command line utility. The general rule with Cake, if you can command line it, you can execute it in a Cake script. That said there is nothing to my knowledge in the DSL that currently communicates directly to the playstore.

Upvotes: 1

Related Questions