Skip to content

How to run a complex/multi shell command task properly? #1443

Answered by borkdude
rlhk asked this question in Q&A
Discussion options

You must be logged in to vote

@rlhk Yes, multiple shell in a do block.

Something like:

(fs/delete-tree "dist")
(fs/delete-tree "out")
(shell "yarn")
(fs/create-dir "dist")
(fs/copy-tree "resources" "dist")
(shell "npx shadow-cljs watch :plugin :test")

There may be a bug in there, but that's the gist of it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rlhk
Comment options

@rlhk
Comment options

Answer selected by rlhk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1442 on December 08, 2022 18:34.