Skip to content

Generate Platform Specific Project Files #197

Closed
Haacked opened this Issue Nov 7, 2013 · 3 comments

3 participants

@Haacked
octokit member
Haacked commented Nov 7, 2013

I recently blogged about how our build now validates that a file added to Octokit.csproj is also added to the platform project files such as Octokit-Monotouch.csproj etc.

However, this is still 💩 work. Ideally, contributors would only need to add a file to Octokit.csproj and run a build script (or even better just compile the solution) and we'd automatically add it to the other projects. Or perhaps we generate the other projects. It doesn't really matter as long as the end-result is the same.

Update
I hear that Gyp might be good for this. It requires Python though which our contributors might not have. It could be something our build server runs and does for contributors though.

@shiftkey
octokit member
shiftkey commented Nov 8, 2013

Ideally, contributors would only need to add a file to Octokit.csproj and run a build script (or even better just compile the solution) and we'd automatically add it to the other projects.

A post-build step to update specific csproj files sounds like the simplest way to get things done. Only friction might be with modifying a csproj file as part of a build, but shouldn't be too hard to spike.

@Haacked
octokit member
Haacked commented Nov 8, 2013

So the FAKE folks might do this

now that we are abe to detect missing files we might add a "fix it" task.

stay tuned.

@forki forki added a commit to fsharp/FAKE that referenced this issue Nov 8, 2013
@forki forki Add tracing to fixit task - see octokit/octokit.net#197 5d412e3
@forki
forki commented Nov 8, 2013

See #199

@Haacked Haacked pushed a commit that closed this issue Nov 8, 2013
@forki forki New FixIt task - closes #197 e4a6f05
@Haacked Haacked closed this in e4a6f05 Nov 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.