-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
56 lines (53 loc) · 1021 Bytes
/
justfile
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
default: run test monitor clean build deploy lint
# keys for run custom command to panel 2
analysis:
echo 'Analysising!'
run:
echo 'Running!'
test:
echo 'Testing!'
monitor:
echo 'Monitoring!'
clean:
echo 'Cleaning!'
build:
echo 'Building!'
deploy:
echo 'Deploying!'
lint:
echo 'Linting!'
alias R :=run
alias A :=analysis
alias T :=test
alias M :=monitor
alias C :=clean
alias B :=build
alias D :=deploy
alias L :=lint
# keys for calling commands in editor to execute other tmux panel
a:
tmux send-keys -t 2 "just analysis" C-m;
r:
tmux send-keys -t 2 "just run" C-m;
t:
tmux send-keys -t 2 "just test" C-m;
n:
tmux send-keys -t 2 "just monitor" C-m;
e:
tmux send-keys -t 2 "just clean" C-m;
i:
tmux send-keys -t 2 "just build" C-m;
o:
tmux send-keys -t 2 "just deploy" C-m;
l:
tmux send-keys -t 2 "just lint" C-m;
s:
tmux send-keys -t 2 "just default" C-m;
c:
tmux send-keys -t 2 C-C;
u:
tmux send-keys -t 2 PageUp;
d:
tmux send-keys -t 2 PageDown;
q:
tmux send-keys -t 2 q;