Skip to content

Commit

Permalink
Test extra args
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Dec 3, 2023
1 parent a0e9dae commit 41cf57e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions test/commands/local/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ eask recipe
eask keywords
eask run script
eask run script test
eask run script extra -- Extra arguments!
eask run script -all
eask run command
eask run command test
eask run command mini-test-3 -- Extra arguments!
eask run command -all

# Exection
Expand Down
8 changes: 6 additions & 2 deletions test/fixtures/mini.emacs.pkg.1/Eask
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@
(files "files/*.el")

(script "test" "echo \"Have a nice day!~ ;)\"")
(script "extra" "echo :")
(script "info" "eask info")

(eask-defcommand mini-test-1 "Command 1." (message "mini test 1"))
(eask-defcommand mini-test-2 "Command 2." (message "mini test 2"))
(eask-defcommand mini-test-1 "Test command 1." (message "Test 1"))
(eask-defcommand mini-test-2 "Test command 2." (message "Test 2"))
(eask-defcommand mini-test-3
"Test command 3."
(message "Test 3: %s" eask-rest-args))

(source "gnu")
(source "melpa")
Expand Down

0 comments on commit 41cf57e

Please sign in to comment.