Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 05 10:32
    jenzy commented #255
  • Dec 05 10:09

    mzorec on master

    version field count is now opti… (compare)

  • Dec 05 10:09

    mzorec on master

    Version field count parameter i… (compare)

  • Dec 05 09:30

    mzorec on master

    BuildVersionWithQuality doesn't… (compare)

  • Dec 05 08:47
    mzorec commented #255
  • Dec 05 08:45

    mzorec on master

    BuildVersionWithQuality should … Merge pull request #255 from je… (compare)

  • Dec 05 08:45
    mzorec closed #255
  • Dec 05 08:24
    jenzy opened #255
  • Dec 04 13:02
    RuneO starred dotnetcore/FlubuCore
  • Dec 04 10:03

    mzorec on master

    Publishes FlubuCore 4.3.4 (compare)

  • Dec 04 09:42

    mzorec on master

    Updates documentation (compare)

  • Dec 04 09:40

    mzorec on master

    Version field count is now conf… (compare)

  • Dec 04 09:22
  • Dec 03 06:06
    lxkbest starred dotnetcore/FlubuCore
  • Dec 02 02:24
    DaneSpiritGOD starred dotnetcore/FlubuCore
  • Nov 29 09:16
    Alantoo starred dotnetcore/FlubuCore
  • Nov 28 01:10
    HAndy2013 starred dotnetcore/FlubuCore
  • Nov 27 13:12

    mzorec on master

    Updates documentation for Flubu… (compare)

  • Nov 27 13:10

    mzorec on gh-pages

    Deployed eae6a468 with MkDocs v… (compare)

  • Nov 27 09:20

    mzorec on master

    Publishes FlubuCore 4.3.3. (compare)

Marko Zorec
@mzorec
Marko Zorec
@mzorec
FlubuCore chocolatey plugin released https://github.com/flubu-core/FlubuCore.Chocolatey
hocolatey is a software management solution unlike anything else you've ever experienced on Windows. It focuses on simplicity, security, and scalability. You write a software deployment in PowerShell once for any software (not just installers), then you can deploy it everywhere you have Windows with any solution that can manage systems (configuration management, endpoint management, etc) and track and manage updates of that software over time. Manage software on-premise, in the "Cloud"�, or in Docker containers with Chocolatey.
Marko Zorec
@mzorec
FlubuCore 4.1.0 Released. It offers some really cool new features in interactive mode
FlubuCore interactive mode offers target tab completition, options tab completition, toogle targets/options, executed commands history. It is also possible to execute external commands and operable programs. For some of them FlubuCore offers tab completion with help out of the box(such as dotnet, git..)
FlubuCore_Interactive_mode.gif
FlubuCore_Interactive_mode_external_process.gif
so even if you are not using flubu for building projects you can still use it as enhanched cmd, powershell, bash...tab completion with help is really nice :)
Marko Zorec
@mzorec
Improved documentation for FlubuCore interactive mode https://flubucore.dotnetcore.xyz/build-script-runner-interactive/
RaminMT
@RaminMT
Hi
Is it possible to define options using FlubuCore? for example -build
Marko Zorec
@mzorec
Hi
yes sure.
Marko Zorec
@mzorec
public class BuildScript : DefaultBuildScript
{
    [FromArg("build", "help text")]
    public string Build { get; set; }
}
You actually don't need to apply FromArg attribute. In that case option key is the same as Property name.
in this case option is also not displayed in help
RaminMT
@RaminMT

Thanks for your response
I guess that's parameter not option, That way we should use it like this -build=Release right?
But I want another thing

public class BuildScript : DefaultBuildScript
{
    [FromArg("build", "help text")]
    public bool Build { get; set; } // please note bool type instead of string
}

So whenever I apply -build then Build property has true value else it's false

Marko Zorec
@mzorec
yes you can apply like this also
RaminMT
@RaminMT
Very good, Thank you
And what about shorthand for parameters?
Marko Zorec
@mzorec
this should work
[FromArg("b", "help text")]
[FromArg("build", "help text")]
public string Build { get; set; }
RaminMT
@RaminMT
Excellent
Thank you
Marko Zorec
@mzorec
Np. If you have any other questions just ask.
Marko Zorec
@mzorec
In next version flubu will support [FromArg("b|build", "help text")]
RaminMT
@RaminMT
Wow, that would be very nice
Marko Zorec
@mzorec
Flubu 4.2.7 now supports shorthand parameters [FromArg("b|build", "help text")]
Jani Bevk
@jenzy
In the UpdateNetCoreVersionTask is the 3 in string newVersion = _version.Version.ToString(3); there on purpose? Shouldn't the ProductVersionFieldCount build prop be used here?
Marko Zorec
@mzorec
yes this looks like a bug. It was probably made because of nuget packaging. I'll take a look at this in the evening
Jani Bevk
@jenzy
:)
I noticed something else - the newVersion is reassigned inside the loop over files
so only the firs file gets the version with suffix
Marko Zorec
@mzorec
ok, tnx for reporting :)
Marko Zorec
@mzorec
FlubuCore 4.3.4 was released both issues were fixed. Additionaly you can set version field count through task fluent interface
   task.SetVersionFieldCount(4);
... or Build prop ProductVersionFieldCount