cargo-d alias generation with a cargo-d script

Tue, 06 Dec 2022 08:29:13 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 06 Dec 2022 08:29:13 +0200
changeset 14
f5b9f4bf25a7
parent 13
465fa2121ccb
child 15
e03ce15643da

cargo-d alias generation with a cargo-d script

misc/cargo-d file | annotate | diff | comparison | revisions
misc/doc_alias.sh file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/cargo-d	Tue Dec 06 08:29:13 2022 +0200
@@ -0,0 +1,4 @@
+#!/bin/sh
+RUSTDOCFLAGS="--html-in-header misc/katex-header.html" cargo d --no-deps "$@"
+
+ 
\ No newline at end of file
--- a/misc/doc_alias.sh	Sun Nov 20 00:23:43 2022 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-# source this file. use cargo rustdoc or cargo d --no-deps no build the documentation.
-echo 'Creating cargo-d alias'
-alias cargo-d='RUSTDOCFLAGS="--html-in-header misc/katex-header.html" BROWSER=/Applications/Firefox.app/Contents/MacOS/firefox-bin cargo d --no-deps'
-
- 
\ No newline at end of file

mercurial