From f2ab934639b986f86bb4d0a8d7f0da60d35c238a Mon Sep 17 00:00:00 2001 From: Rachit Nigam Date: Sun, 4 Feb 2024 19:23:47 +0530 Subject: [PATCH] fud2 docs (#1893) --- docs/running-calyx/fud2.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/running-calyx/fud2.md b/docs/running-calyx/fud2.md index d847962a20..4ba2a8d75f 100644 --- a/docs/running-calyx/fud2.md +++ b/docs/running-calyx/fud2.md @@ -17,13 +17,19 @@ You might then want to do something like ``ln -s `pwd`/target/debug/fud2 ~/.loca fud2 depends on [Ninja][]. Install it using your OS package manager or by downloading a binary. -Create a configuration file at `~/.config/fud2.toml`, using the path to your checkout of the Calyx git repository: +### Configuration +Run the following command to edit `fud2`'s configuration file (usually `~/.config/fud2.toml`): +``` +fud edit-config +``` + +Add the following fields: ```toml -rsrc = ".../calyx/fud2/rsrc" +rsrc = "/fud2/rsrc" [calyx] -base = ".../calyx" +base = "" ``` Now you're ready to use fud2.