Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: FAKE it til you make it #138

Closed
wants to merge 18 commits into from
Closed

WIP: FAKE it til you make it #138

wants to merge 18 commits into from

Conversation

shiftkey
Copy link
Contributor

This replaces the existing build scripts with a standalone FAKE script (and docs on how you can build/test NSubstitute locally).

  • version binaries
  • confirm © renders correctly in AssemblyInfo.cs
  • clean and build
  • run tests
  • port logic for release notes
  • create package
  • create zip file containing binaries
  • generate docs site
  • generate and test code samples
  • review and refine

Usage

You can play with this right now.

.\build will build and run the test suite
.\build Release will build, run tests and create all the release artifacts

@shiftkey
Copy link
Contributor Author

Unhandled Exception: Pretzel.Logic.Exceptions.PageProcessingException: Failed to process C:\Users\brendanforster\Documents\GitHub\NSubstitute\Source\Docs\_site\index.html, see inner exception for more details ---> DotLiquid.Exceptions.SyntaxException: Unknown tag 'examplecode'
   at DotLiquid.Block.UnknownTag(String tag, String markup, List`1 tokens)
   at DotLiquid.Block.Parse(List`1 tokens)
   at DotLiquid.Document.Initialize(String tagName, String markup, List`1 tokens)
   at DotLiquid.Template.ParseInternal(String source)
   at Pretzel.Logic.Templating.Jekyll.LiquidEngine.RenderTemplate(String templateContents, PageContext pageData)
   at Pretzel.Logic.Templating.JekyllEngineBase.ProcessFile(String outputDirectory, Page page, Page previous, Page next,
 Boolean skipFileOnError, String relativePath)
   --- End of inner exception stack trace ---
   at Pretzel.Logic.Templating.JekyllEngineBase.ProcessFile(String outputDirectory, Page page, Page previous, Page next,
 Boolean skipFileOnError, String relativePath)
   at Pretzel.Logic.Templating.JekyllEngineBase.Process(SiteContext siteContext, Boolean skipFileOnError)
   at Pretzel.Commands.BakeCommand.Execute(IEnumerable`1 arguments)
   at Pretzel.Program.Run(String[] args, OptionSet defaultSet)
   at Pretzel.Program.Main(String[] args)

@shiftkey
Copy link
Contributor Author

@dtchepak with a small change to the CHANGELOG file:

1.7.1 (January 2014)
// becomes 
### 1.7.0 (January 2014)

I can leverage the inbuilt ReleaseNotesHelper and let the CHANGELOG drive the versioning of everything.

Any objections?

@dtchepak
Copy link
Member

No objections. Thanks for all your work on this.
On 26 Jan 2014 15:43, "Brendan Forster" notifications@github.com wrote:

@dtchepak https://github.com/dtchepak with a small change to the
CHANGELOG file:

1.7.1 (January 2014)
// becomes

1.7.0 (January 2014)

I can leverage the inbuilt ReleaseNotesHelper and let the CHANGELOG drive
the versioning of everything.

Any objections?


Reply to this email directly or view it on GitHubhttps://github.com//pull/138#issuecomment-33309189
.

@shiftkey
Copy link
Contributor Author

@dtchepak one of the benefits I neglected to mention is we can embed the release notes into the NuGet assembly

So the release notes here are just extracted from here

@forki
Copy link

forki commented Jan 30, 2014

Nice work. Do you need any help?

@dtchepak
Copy link
Member

Merged in (commits end at a346013)

Thanks @shiftkey!

@dtchepak dtchepak closed this Jul 10, 2014
@dtchepak dtchepak mentioned this pull request Nov 5, 2014
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants