blob: 49a65adb6b398fb0c2ebe1ec02c3271c0116ec1f (
plain)
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
57
58
59
60
61
62
63
64
65
66
67
|
[build]
target-dir = "./.temp/target/"
[publish]
target-dir = "./.temp/deploy/"
binaries = [
"jvii",
"jvii.exe",
"jvn",
"jvn.exe",
"jvn_comp",
"jvn_comp.exe",
# Dynamic Lib
"libjvcli.so",
"libjvcli.dll",
]
#####################
### Bash/Zsh/Fish ###
#####################
# Completions
[copies.completion_jvn_bash]
from = "scripts/deploy/completions/bash.sh"
to = "comp/jvn_bash.sh"
platform = [ "linux", "macos" ]
[copies.completion_jvn_zsh]
from = "scripts/deploy/completions/zsh.sh"
to = "comp/jvn_zsh.sh"
platform = [ "linux", "macos" ]
[copies.completion_jvn_fish]
from = "scripts/deploy/completions/fish.fish"
to = "comp/jvn_fish.fish"
platform = [ "linux", "macos" ]
# Entries
[copies.entry_bash]
from = "scripts/deploy/jvn.sh"
to = "jvn.sh"
platform = [ "linux", "macos" ]
##################
### Powershell ###
##################
# Completions
[copies.completion_jvn_powershell]
from = "scripts/deploy/completions/powershell.ps1"
to = "comp/jvn_pwsl.ps1"
platform = [ "windows" ]
# Entries
[copies.entry_powershell]
from = "scripts/deploy/jvn.ps1"
to = "jvn.ps1"
platform = [ "windows" ]
##################
### Zsh Plugin ###
##################
# Not yet :(
|