diff options
Diffstat (limited to 'Readme.md')
-rw-r--r-- | Readme.md | 25 |
1 files changed, 17 insertions, 8 deletions
@@ -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 |