From ba43279edac9545ef341e1ddabd43d5ede858b6b Mon Sep 17 00:00:00 2001 From: Luca Trevisani Date: Thu, 30 Aug 2018 22:18:00 +0200 Subject: [PATCH] Use `cargo run` tu build and run Rust projects --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1897778..6c2493e 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "applescript": "osascript", "clojure": "lein exec", "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt", - "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt", + "rust": "cargo run", "racket": "racket", "ahk": "autohotkey", "autoit": "autoit3",