Giter Club home page Giter Club logo

Comments (10)

andreynering avatar andreynering commented on May 18, 2024 1

@anthonyrisinger Task maintainers have limited time, but we're slowly working on them.

from task.

zbindenren avatar zbindenren commented on May 18, 2024

I like that idea. With that it would be possible to overwrite them by GOOS.

from task.

andreynering avatar andreynering commented on May 18, 2024

@zbindenren That should be already possible with, e.g.: Taskvars.yml and Taskvars_windows.yml.

I think we'll have to introduce an alternative layout with tasks in a deeper level to solve this + import of Taskfiles (#54)

# Taskfile.yml

import:
  - "another/dir"
  - "Another_taskfile.yml"

vars:
  FOO: bar
  BAR: baz

tasks:
  build:
    cmds:
      - go build ...

I'd prefer to keep everything in the root level, but that not clear and easy.

from task.

smyrman avatar smyrman commented on May 18, 2024

Maybe add a version: "2" (docker-compose style) to that. Then it's easy for the parser to first check the version (maybe demand that it's on top) and then apply the relevant parser method for the rest. It adds some additional documentation overhead of multiple formats though.

from task.

zbindenren avatar zbindenren commented on May 18, 2024

@andreynering the last time I checked, it did not work. But I still like the idea, to have all in the same file.

@smyrman versioning like docker compose seems a good idea to me. Maybe keep in sync with task cli version.

from task.

andreynering avatar andreynering commented on May 18, 2024

The last time I checked, it did not work.

@zbindenren I couldn't reproduce that.

from task.

zbindenren avatar zbindenren commented on May 18, 2024

@andreynering you are right, it works. I had an old task version.

from task.

anthonyrisinger avatar anthonyrisinger commented on May 18, 2024

So I came across task after cursing make for the 100 billionth time, thanks to the pointless-and-compounding limitations imposed on prereqs, such as not expanding $@ without .SECONDEXPANSION garbage, even though it's known at the time, and not honoring previously set target- and pattern-specific variables in prereqs...

Anyways, this feature appeals to me because it keeps everything in one place. As mentioned in #66 (comment), a new format is necessary to support other features as well.

Is this waiting on #54? I see a handful of stalled open issues that would complete my wants and needs and probably sell me on task > make until the end of time.

from task.

anthonyrisinger avatar anthonyrisinger commented on May 18, 2024

Apologies, stalled was a poor choice of words. A few interesting open tickets feel like a decision was made somewhere else perhaps, and I'm unsure of their status/priority/blockers or how to help move them.

from task.

andreynering avatar andreynering commented on May 18, 2024

@anthonyrisinger

The priority is implementing versioned Taskfiles (#77, in progress), so we can implement nice things without breaking compatibility.

This issue and the others you mentioned will be pushed to v2.0

from task.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.