-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f0a988a
commit 3afafd0
Showing
48 changed files
with
3,465 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: NMD Cargo Build & Test | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose |
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 |
---|---|---|
|
@@ -16,4 +16,4 @@ Cargo.lock | |
perf.data | ||
perf.data.old | ||
flamegraph.svg | ||
profile.json | ||
./profile.json |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[package] | ||
name = "nmd" | ||
version = "1.3.0" | ||
authors = ["Nicola Ricciardi"] | ||
edition = "2021" | ||
description = "Official NMD CLI and compiler" | ||
readme = "README.md" | ||
repository = "https://github.com/nricciardi/nmd" | ||
license-file = "LICENSE" | ||
keywords = ["compiler", "nmd", "markdown"] | ||
exclude = [ | ||
"test-resources/*", | ||
"logo/*", | ||
"docs/*" | ||
] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
clap = "4.4.18" | ||
env_logger = "0.10.1" | ||
getset = "0.1.2" | ||
log = "0.4.20" | ||
notify = "6.1.1" | ||
once_cell = "1.19.0" | ||
rayon = "1.8.0" | ||
regex = "1.10.2" | ||
reqwest = { version = "0.11.24", features = ["blocking"] } | ||
serde = { version = "1.0.195", features = ["derive"] } | ||
serde_json = "1.0.113" | ||
serde_yaml = "0.9.31" | ||
simple_logger = "4.3.3" | ||
thiserror = "1.0.50" | ||
url = "2.5.0" | ||
tokio = { version = "1", features = ["full"] } | ||
warp = "0.3" | ||
chrono = "0.4.38" | ||
nmd-core = "0.40.0" | ||
|
||
|
||
[profile.profiling] | ||
inherits = "release" | ||
debug = 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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
rustup update | ||
|
||
cargo test --verbose | ||
|
||
cargo build --release --target x86_64-unknown-linux-gnu | ||
|
||
cargo build --release --target x86_64-pc-windows-gnu |
Oops, something went wrong.