[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
https://github.com/geany/geany/commit/1b5ec633e3a0f15f17ed29b9947cb346a6ee669b
Log Message:
-----------
Use Cargo tool for Rust build commands
Closes PR #557
Modified Paths:
--------------
data/filetypes.rust
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
#type=1
-[build_settings]
-# %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"
-run_cmd="./%e"
-
+[build-menu]
+FT_00_LB=Compile
+FT_00_CM=rustc "%f"
+FT_00_WD=
+NF_00_LB=Cargo Build
+NF_00_CM=cargo build
+NF_00_WD=
+NF_01_LB=Cargo Test
+NF_01_CM=cargo test
+NF_01_WD=
+NF_02_LB=Cargo Bench
+NF_02_CM=cargo bench
+NF_02_WD=
+EX_00_LB=Run
+EX_00_CM="./%e"
+EX_00_WD=
+EX_01_LB=Cargo Run
+EX_01_CM=cargo run
+EX_01_WD=
--------------
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