Comments (10)
@anthonyrisinger Task maintainers have limited time, but we're slowly working on them.
from task.
I like that idea. With that it would be possible to overwrite them by GOOS.
from task.
@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.
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.
@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.
The last time I checked, it did not work.
@zbindenren I couldn't reproduce that.
from task.
@andreynering you are right, it works. I had an old task version.
from task.
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.
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.
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)
- Provide some typical cases of practical applications as reference for configuration or various usages HOT 2
- Unable to override dotenv file loaded using $ENV value, as per the example in the docs HOT 1
- When calling a subtask, the passed variable cannot directly overwrite the value in the subtask, which is inconsistent with the document description. HOT 1
- for loop does not take effect in deps HOT 1
- The for loop does not support specifying multiple commands HOT 1
- Template-related errors are difficult to understand
- Add `q` alias for `shellQuote` template function? HOT 2
- Exclude doesn't support globbing HOT 1
- Variables are initialized at start of taskfile and not when I actually need them to be initialized
- fatal error: concurrent map writes HOT 3
- Cannot include multiple time the same Taskfile with differents namespaces HOT 7
- shell opt in variables sh not working
- using variable in template error
- Request: Docs section listing all template functions available HOT 4
- Vars can be included in other vars, but env vars not in other env vars
- Add TASK_EXECUTABLE_PATH variable
- Suppress signal received message HOT 1
- Add support for faint colors HOT 2
- Multiline commands for dynamic vars HOT 2
- Declaration order matters when nesting dynamic vars HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from task.