summaryrefslogtreecommitdiff
path: root/.cargo/config.toml
blob: 8de7c9b1c10cc97d82cdff2455ca00e65fa6f0fc (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
[build]
target-dir = "./.temp/target/"

[alias]
# Use `cargo export` to export the project
export = "run --manifest-path crates/build_helper/Cargo.toml --bin exporter"

[publish]
target-dir = "./export/"
binaries = [
    "jv",
    "jv.exe",

    "jvv",
    "jvv.exe",
]

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

# Completions
[copies.completion_jv_bash]
from = "scripts/completions/bash/completion_jv.sh"
to = "completions/bash/completion_jv.sh"

[copies.completion_jvv_bash]
from = "scripts/completions/bash/completion_jvv.sh"
to = "completions/bash/completion_jvv.sh"

# Entries
[copies.entry_bash]
from = "scripts/jv_cli.sh"
to = "jv_cli.sh"

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

# Completions
[copies.completion_jv_powershell]
from = "scripts/completions/powershell/completion_jv.ps1"
to = "completions/powershell/completion_jv.ps1"

[copies.completion_jvv_powershell]
from = "scripts/completions/powershell/completion_jvv.ps1"
to = "completions/powershell/completion_jvv.ps1"

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