summaryrefslogtreecommitdiff
path: root/.cargo/config.toml
blob: f79321e77a137e80be0e38c4f7b9d24f109a4571 (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
68
69
70
71
72
73
74
75
76
[build]
target-dir = "./.temp/target/"

[publish]
target-dir = "./.temp/deploy/"
binaries = [
    # The legacy command line
    "jv",
    "jv.exe",

    "jvv",
    "jvv.exe",

    "jvii",
    "jvii.exe",

    # The new command line
    "jvn",
    "jvn.exe"
]

############
### Bash ###
############

# Completions
[copies.completion_jv_bash]
from = "scripts/deploy/completions/bash/completion_jv.sh"
to = "comp/jv.sh"
platform = [ "linux", "macos" ]

[copies.completion_jvv_bash]
from = "scripts/deploy/completions/bash/completion_jvv.sh"
to = "comp/jvv.sh"
platform = [ "linux", "macos" ]

# Entries
[copies.entry_bash]
from = "scripts/deploy/jv_cli.sh"
to = "jv_cli.sh"
platform = [ "linux", "macos" ]

##################
### Powershell ###
##################

# Completions
[copies.completion_jv_powershell]
from = "scripts/deploy/completions/powershell/completion_jv.ps1"
to = "comp/jv.ps1"
platform = [ "windows" ]

[copies.completion_jvv_powershell]
from = "scripts/deploy/completions/powershell/completion_jvv.ps1"
to = "comp/jvv.ps1"
platform = [ "windows" ]

# Entries
[copies.entry_powershell]
from = "scripts/deploy/jv_cli.ps1"
to = "jv_cli.ps1"
platform = [ "windows" ]

##################
### Zsh Plugin ###
##################

[copies.zsh_plugin]
from = "scripts/deploy/zsh_support/jvcs.plugin.zsh"
to = "zsh_support/jvcs.plugin.zsh"
platform = [ "linux", "macos" ]

[copies.zsh_plugin_installation]
from = "scripts/deploy/zsh_support/how_to_install.md"
to = "zsh_support/how_to_install.md"
platform = [ "linux", "macos" ]