Skip to content

Commit

Permalink
Add build.rs to compile tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 21, 2023
1 parent 5ae1bf3 commit e446aaa
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 1,153 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ edition = "2021"
name = "nix-browser"
version = "0.1.0"
homepage = "https://github.com/juspay/nix-browser"
build = "build.rs"

[package.metadata.docs.rs]
all-features = true
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ This will automatically activate the nix develop shell. Open VSCode and install
## Running locally

We should run two watchers: one for generating Tailwind CSS (`just tw`) and another running the cargo package (`just watch`). In nix shell,
In nix shell,

```
# In one terminal,
just watch
# In another,
just tw
```

`just watch` runs `dx serve` (with hot reload disabled) that will restart the desktop app after compilation.
Expand Down
Loading

0 comments on commit e446aaa

Please sign in to comment.