-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow up for
winit
backend and CI (#77)
* Fix menu on windows * Refactor menu initialization * Fix missing gtk in CI * Create CONTRIBUTING.MD * Add info text
- Loading branch information
Showing
5 changed files
with
84 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/target | ||
/Cargo.lock | ||
.DS_Store | ||
experiments | ||
experiments | ||
/.vscode |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Contributing to Blitz | ||
|
||
Welcome to the Dioxus community! | ||
Blitz is a "native" HTML/CSS renderer built to support the "Dioxus Native" project. It is effectively a lightweight webview except that the JavaScript engine is replaced with a native Rust API which allows Rust reactivity / state management libraries like Dioxus to interface with it directly. | ||
|
||
Talk to us in: the #native channel in the [Dioxus Discord](https://discord.gg/BWTrn6d3) | ||
|
||
## Development | ||
|
||
### Windows | ||
Building Blitz requires Python, which can be installed from the Windows app store. | ||
|
||
### Linux | ||
Requirements: | ||
* asound2 | ||
* atk1.0 | ||
* gtk-3 | ||
* udev | ||
* pango1.0 | ||
* xdo | ||
|
||
For example on Ubuntu you can install these by running: | ||
```sh | ||
sudo apt-get update | ||
sudo apt-get install \ | ||
libasound2-dev \ | ||
libatk1.0-dev \ | ||
libgtk-3-dev \ | ||
libudev-dev \ | ||
libpango1.0-dev \ | ||
libxdo-dev | ||
``` | ||
|
||
### VSCode | ||
You can add the following JSON to your `.vscode/settings.json` to automically build Blitz on all supported targets. | ||
```json | ||
{ | ||
"rust-analyzer.check.features": "all", | ||
"rust-analyzer.cargo.features": "all", | ||
"rust-analyzer.check.allTargets": true, | ||
"rust-analyzer.cargo.allTargets": true | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters