Add zunit file template & file extension
This commit is contained in:
parent
b0c26ea4dd
commit
1e95dc530a
3 changed files with 8 additions and 1 deletions
|
@ -106,5 +106,6 @@
|
|||
;; Slim
|
||||
("/\\(index\\|main\\)\\.slim$" "__" slim-mode)
|
||||
;; Shell scripts
|
||||
("\\.z?sh$" "__" sh-mode))))
|
||||
("\\.z?sh$" "__" sh-mode)
|
||||
("\\.zunit$" "__zunit" sh-mode))))
|
||||
|
||||
|
|
5
modules/feature/file-templates/templates/sh-mode/__zunit
Normal file
5
modules/feature/file-templates/templates/sh-mode/__zunit
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env zunit
|
||||
|
||||
@test '...' {
|
||||
$0
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue