summaryrefslogtreecommitdiff
path: root/Readme.md
diff options
context:
space:
mode:
authorjelemux <jeremias.weber@protonmail.com>2021-02-09 23:18:45 +0100
committerjelemux <jeremias.weber@protonmail.com>2021-02-09 23:18:45 +0100
commit036a567bae8346eb38f9237f59645dbcc4f1cd8c (patch)
tree21a86e3c5cb8964030c414718190af12f3d26125 /Readme.md
parent9df3ff8d633a18e934d4e62b0e2e718620760552 (diff)
downloadwasm-card-036a567bae8346eb38f9237f59645dbcc4f1cd8c.tar.gz
wasm-card-036a567bae8346eb38f9237f59645dbcc4f1cd8c.tar.bz2
switch to cargo-make; format files with rustfmt
Diffstat (limited to 'Readme.md')
-rw-r--r--Readme.md25
1 files changed, 17 insertions, 8 deletions
diff --git a/Readme.md b/Readme.md
index cb0e50a..b257c04 100644
--- a/Readme.md
+++ b/Readme.md
@@ -32,23 +32,32 @@ Supports generating vCards (.vcf), print-ready PDF business cards and QR Codes.
* [Standard rust toolchain](https://www.rust-lang.org/tools/install)
* [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/)
-* HTTP Server (python has one!)
+* cargo-make: `cargo install cargo-make`
-### 📦 Build with `wasm-pack build`
-
+### 📦 Build
+Debug:
+```
+cargo make build
+```
+Release:
```
-wasm-pack build --target web
+cargo make build_release
```
-### 🔍 Use the debug flag for tracing errors
+### 🍲 Serve
```
-wasm-pack build --debug --target web
+cargo make serve
```
-### 🎬 Run on python server
+### 🔍 Linting
+
+```
+cargo make clippy
+```
+### 📏 Format
```
-python -m http.server 8000
+cargo make fmt
``` \ No newline at end of file