[geany/geany] 1b5ec6: Use Cargo tool for Rust build commands

Wayne Nilsen git-noreply at xxxxx
Fri Jul 31 05:40:53 UTC 2015

Branch:      refs/heads/master
Author:      Wayne Nilsen <waynenilsen at gmail.com>
Committer:   Matthew Brush <matt at geany.org>
Date:        Fri, 31 Jul 2015 05:40:53 UTC
Commit:      1b5ec633e3a0f15f17ed29b9947cb346a6ee669b

Log Message:
Use Cargo tool for Rust build commands

Closes PR #557

Modified Paths:

Modified: data/filetypes.rust
27 lines changed, 19 insertions(+), 8 deletions(-)
@@ -62,11 +62,22 @@ context_action_cmd=
 # 0 is spaces, 1 is tabs, 2 is tab & spaces
-# %f will be replaced by the complete filename
-# %e will be replaced by the filename without extension
-# (use only one of it at one time)
-compiler=rustc "%f"
-linker=rustc -o "%e" "%f"
+FT_00_CM=rustc "%f"
+NF_00_LB=Cargo Build
+NF_00_CM=cargo build
+NF_01_LB=Cargo Test
+NF_01_CM=cargo test
+NF_02_LB=Cargo Bench
+NF_02_CM=cargo bench
+EX_01_LB=Cargo Run
+EX_01_CM=cargo run

This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).

More information about the Commits mailing list