Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duckscript call other task not run dependencies. #519

Closed
umaYnit opened this issue Feb 23, 2021 · 5 comments
Closed

Duckscript call other task not run dependencies. #519

umaYnit opened this issue Feb 23, 2021 · 5 comments
Assignees
Labels
Milestone

Comments

@umaYnit
Copy link

umaYnit commented Feb 23, 2021

[tasks.A]
script_runner = "@duckscript"
script = '''
cm_run_task B
'''

[tasks.B]
command = "echo"
args = ["world"]
dependencies = ["C"]

[tasks.C]
command = "echo"
args = ["hello"]

When run cargo make A, Expect to execute task C before B

@sagiegurari
Copy link
Owner

thanks for reporting. i'll check it out.

@sagiegurari
Copy link
Owner

@umaYnit this is now fixed in the 0.32.13 dev branch.
can you please confirm it's fixed for you?

@sagiegurari sagiegurari added this to the 0.32.13 milestone Mar 2, 2021
@umaYnit
Copy link
Author

umaYnit commented Mar 2, 2021

I will test it right away

@umaYnit
Copy link
Author

umaYnit commented Mar 2, 2021

Yeah, It's pretty good.

$ cargo make A
[cargo-make] INFO - cargo make 0.32.12
[cargo-make] INFO - Project: rust_test
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: A
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: A
[cargo-make] INFO - Running Task: C
hello
[cargo-make] INFO - Running Task: B
world
[cargo-make] INFO - Build Done in 0.00 seconds.

@umaYnit umaYnit closed this as completed Mar 2, 2021
@sagiegurari
Copy link
Owner

great thanks for confirming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants