aboutsummaryrefslogtreecommitdiff
path: root/goodfile
diff options
context:
space:
mode:
Diffstat (limited to 'goodfile')
-rw-r--r--goodfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/goodfile b/goodfile
new file mode 100644
index 0000000..a33fd7a
--- /dev/null
+++ b/goodfile
@@ -0,0 +1,14 @@
+Build.dependencies({"git", "make", "rustc", "cargo"})
+
+Build.metric(
+ "nightly version",
+ string.gsub(Build.check_output({"rustc", "--version"}).stdout, '^%s*(.*)%s*$', '%1')
+)
+
+Step.start("crate")
+Step.push("build")
+Build.run({"cargo", "build"})
+
+Step.advance("test")
+Build.run({"cargo", "test"}, {name="test stdlib/fmt"})
+Build.run({"cargo", "test", "--no-default-features"}, {name="test nostdlib/fmt"})