This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add shorthands for
lake script run/list
closes #88
- Loading branch information
Showing
3 changed files
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
set -ex | ||
${LAKE:-../../build/bin/lake} script list | ||
${LAKE:-../../build/bin/lake} script run scripts/greet | ||
${LAKE:-../../build/bin/lake} script run greet me | ||
${LAKE:-../../build/bin/lake} script doc greet | ||
${LAKE:-../../build/bin/lake} script run nonexistant && false || true | ||
${LAKE:-../../build/bin/lake} script doc nonexistant && false || true | ||
LAKE=${LAKE:-../../build/bin/lake} | ||
$LAKE script list | ||
$LAKE run scripts/greet | ||
$LAKE script run greet me | ||
$LAKE script doc greet | ||
$LAKE script run nonexistant && false || true | ||
$LAKE script doc nonexistant && false || true | ||
$LAKE scripts |