Skip to content

Scaffold and build system #28

@fbehrens

Description

@fbehrens

Hi @tlycken,
I want to continue up our short discussion in #20 about this.

When I suggested to copy this things from established example projects, I agree to you, that we should only copy those parts that we need and understand.

For my own learning understanding of the dotnet-core platform, I have created a minimal scaffold from scratch: https://github.com/fbehrens/Dotnetcorescaffold .
Important for me was that I get familiar with the native dotnet commands.
This went very smooth. (big thanks to @forki and @Krzysztof-Cieslak for paket and inonide)

In the readme are the steps of creation documented.
Its completely wired up with

  • 3 Projects (Library, Cli and Tests )
  • uses Paket for dependencies (Fuchu,Expecto)
  • has ci (Travis and Appveyor)
  • and borrows its structure and build system from the safe-bookstore.

I did this because I needed to understand how all this works.

Here are some differences to what is currently here:

  • no need for --use-mono argument
  • build scripts can invoke fake targets (like ./build.sh Clean)
  • build scripts (fsx,cmd,sh) are simpler
  • the git-version stuff is missing
  • uses Expecto instead of xUnit
  • it builds much faster (don't know why, but on my Mac its 17s against 37s for a full build)

Please have a look at it. What do you think about it?
If you like it, I would make a pull request for switching to it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions