-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tasks
35 lines (26 loc) · 982 Bytes
/
.tasks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# vim: set fenc=utf-8 ft=taskini:
# see: https://github.com/skywind3000/asynctasks.vim/wiki/Task-Config
# define a new task named "file-build"
[file-build]
# shell command, use quotation for filenames containing spaces
# check ":AsyncTaskMacro" to see available macros
command=npm run compileIntoSingleFile "$(VIM_FILEPATH)"
# working directory, can change to $(VIM_ROOT) for project root
cwd=$(VIM_FILEDIR)
# output mode, can be one of quickfix and terminal
# - quickfix: output to quickfix window
# - terminal: run the command in the internal terminal
output=quickfix
# this is for output=quickfix only
# if it is omitted, vim's current errorformat will be used.
errorformat=%f:%l:%m
# save file before execute
save=1
[file-install]
command:typescript=npm run installScript "$(VIM_FILEPATH)"
cwd=$(VIM_FILEDIR)
save=2
[file-reinstall]
command:typescript=npm run compileIntoSingleFile "$(VIM_FILEPATH)" && npm run installScript "$(VIM_FILEPATH)"
cwd=$(VIM_FILEDIR)
save=2