by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 05:47
    vermilion starred dotnetcore/FlubuCore
  • 05:24
    onesmail starred dotnetcore/FlubuCore
  • Jun 03 15:06
  • Jun 03 11:37

    mzorec on gh-pages

    Deployed 3b668653 with MkDocs v… (compare)

  • Jun 03 11:34

    mzorec on gh-pages

    Deployed 3b668653 with MkDocs v… (compare)

  • Jun 03 02:26
    594270461 starred dotnetcore/FlubuCore
  • Jun 02 09:49
    mzorec commented #325
  • Jun 02 09:47

    mzorec on develop

    Update command of install globa… Merge pull request #325 from Rw… (compare)

  • Jun 02 09:47
    mzorec closed #325
  • Jun 02 09:25
    Rwing commented #325
  • Jun 02 09:24
    dnfclas commented #325
  • Jun 02 08:09
    mzorec commented #325
  • Jun 02 06:08
    dnfclas commented #325
  • Jun 02 06:07
    Rwing opened #325
  • Jun 02 05:25
  • Jun 01 16:39

    mzorec on develop

    Fixes script execution on web a… (compare)

  • Jun 01 15:45

    mzorec on develop

    update tests (compare)

  • Jun 01 14:44

    mzorec on develop

    Adds travis configuration gener… (compare)

  • May 31 12:23
    noobwu starred dotnetcore/FlubuCore
  • May 29 09:19
    mzorec assigned #324
Marko Zorec
@mzorec
SolutionName, Configuration is exlicitly set in tasks by flubu in all tasks (if solution name, project name is not explicitly set in task)
Marko Zorec
@mzorec
I meant SolutionName and Configuration is implicitly set in task by flubu...
Michael Tsai
@huanlin
   context.CreateTarget("compile").AddCoreTask(x => x.Build().WithArguments("-o", OutputDirectory));
Worked like a charm! Thanks a lot for answering my questions. I only knew FlubuCore about 3 hours ago.
Marko Zorec
@mzorec
Np :) If you like Flubu please star it and spreat the word :P
Michael Tsai
@huanlin
Yes, sure!
And let me ask another newbie question:
Do you suggest run "flubu compile" command from the "source" directory? or do you suggest run the command from the "root" directory of a project? (I'm not saying root of a .csproj project)
Marko Zorec
@mzorec
from the source directory
Michael Tsai
@huanlin
Cool. That's what I'm doing right now. Thank you for your time ^_^ (Already star it on GitHub, and I'll write a blog post about FlubuCore later.)
Marko Zorec
@mzorec
you can run it from any subfolder if you run flubu setup and set location to buildscript and csproj in interactive mode
actually locations are not needed if they are at one of the default locations it's enough that .flubu file is at the source directory
so that flubu knows where the root directory is
Michael Tsai
@huanlin
OK. will try that. The next thing I'll try is GitVersion . Thanks again.
Marko Zorec
@mzorec

Cool. That's what I'm doing right now. Thank you for your time ^_^ (Already star it on GitHub, and I'll write a blog post about FlubuCore later.)

That would be awesome if you would write a blog post :)

Michael Tsai
@huanlin
cool :)
Marko Zorec
@mzorec
actually now that I think about it you will have to enter script and csproj file if you create .flubu file through flubu setup command
I will try to improve this in next version so that you don't have to enter locations if they are at the default locations
Marko Zorec
@mzorec
Can I ask how do you plan to set version after you fetch it with GitVersionTask
you might encounter one issue depending on which approach you will take
Michael Tsai
@huanlin
So I guess I can use GitVersion with FlubuCore as well.
Marko Zorec
@mzorec
yes you can
Michael Tsai
@huanlin
However, GitVersion is not a must for me. I'm OK if the following code work:
context.Properties.Set(BuildProps.BuildVersion, "1.2.3.0");
Marko Zorec
@mzorec
you can use GitVersion
Michael Tsai
@huanlin
Fetching version number from a text file is fine for me, too. :)
@mzorec OK, will try it.
I mean I'll try GitVersion.
Marko Zorec
@mzorec
you have to set BuildVersion through UpdateNetCoreVersionTask which will modidy csproj
or set it BuildTask
explicitly
context.CreateTarget("Build")
.AddCoreTask(x => x.Build().FileVersion());
if you take this approach i recomend that you do it in this way:
Marko Zorec
@mzorec
    public GitVersion Version { get; set; }

    protected override void BeforeBuildExecution(ITaskContext context)
    {
        Version = context.Tasks().GitVersionTask().Execute(context);
    }

    protected override void ConfigureTargets(ITaskContext context)
    {

        context.CreateTarget("test")
            .AddCoreTask(x => x.Build().Version(Version.SemVer));
    }
this will be simplified in FlubuCore 5.0
which will be released shortly
Michael Tsai
@huanlin
OK, looks good! One question:
Does FlubuCore depend on GitVersion command line tool?
Marko Zorec
@mzorec
yes you have to install global tool
Michael Tsai
@huanlin
I'll report here if I found anything interesting.
Marko Zorec
@mzorec
ok
Michael Tsai
@huanlin
    public GitVersion Version { get; set; }

    protected override void BeforeBuildExecution(ITaskContext context)
    {
        Version = context.Tasks().GitVersionTask().Execute(context);
    }

    protected override void ConfigureTargets(ITaskContext context)
    {

        context.CreateTarget("test")
            .AddCoreTask(x => x.Build().Version(Version.SemVer));
    }
Thanks very much for your help!
Marko Zorec
@mzorec
np
Marko Zorec
@mzorec
Happy to announce that FlubuCore got accepted to .net foundation :)
Michael Tsai
@huanlin
congrats!
nawfalhasan
@nawfalhasan
Wow..
Marko Zorec
@mzorec
FlubuCore 5 was released
nawfalhasan
@nawfalhasan
😍🤘
Michael Tsai
@huanlin
😍
Marko Zorec
@mzorec
so it's official :)