Codebase list rust-libslirp / 7b97623
update of the doc Sylvestre Ledru 5 years ago
1 changed file(s) with 16 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
22
33 ``cargo install debcargo``, then for each new package:
44
5 Run ``./update.sh <rust-crate-name>`` and follow its instructions.
5 **To package a new crate:**
66
7 (The above applies even for new Rust Debian packages.)
7 $ ``./new-package.sh <rust-crate-name>`` and follow its instructions.
88
9 If you must maintain an old version of a crate alongside the latest one, first
9 **To update a crate:**
10
11 $ ``./update.sh <rust-crate-name>``
12
13 Note that new-package.sh is just a symlink to update.sh. This has been created
14 to help new comers.
15
16 **To package an older version of a crate:**
17
18 $ ``./update.sh <rust-crate-name> <old-version>``
19
20 To maintain an old version of a crate alongside the latest one, first
1021 make sure the latest version is packaged by doing all of the above, then run
11 ``./update.sh <rust-crate-name> <old-version>``, then copy anything relevant
12 from the config directory for the latest version, to that for the old version.
22 the command above and copy anything relevant from the config directory
23 for the latest version, to that for the old version.
1324
1425
1526 NEWS