1
Fork 0

Update to new project style.

This commit is contained in:
Bauke 2022-10-04 00:57:48 +02:00
parent 029ee3114e
commit 96f72dd8ba
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
5 changed files with 65 additions and 2006 deletions

View File

@ -1,19 +1,22 @@
[package] [package]
name = "userstyles" name = "userstyles"
description = "https://bauke.xyz/userstyles" description = "https://bauke.xyz/userstyles"
version = "1.0.0" repository = "https://git.bauke.xyz/Bauke/userstyles"
edition = "2018"
repository = "https://git.holllo.cc/Bauke/userstyles"
license = "AGPL-3.0-or-later" license = "AGPL-3.0-or-later"
build="source/build.rs" version = "1.0.0"
edition = "2021"
build = "source/build.rs"
[lib] [lib]
path = "source/lib.rs" path = "source/lib.rs"
[dependencies] [dependencies]
serde = { version = "1.0.130", features = ["derive"] } serde_json = "1.0.85"
serde_json = "1.0.67" thiserror = "1.0.37"
thiserror = "1.0.26"
[dependencies.serde]
features = ["derive"]
version = "1.0.145"
[build-dependencies] [build-dependencies]
rsass = "0.22.2" rsass = "0.23.4"

39
Makefile.toml Normal file
View File

@ -0,0 +1,39 @@
[tasks.fmt]
command = "cargo"
args = ["fmt", "${@}"]
[tasks.check]
command = "cargo"
args = ["check", "${@}"]
[tasks.clippy]
command = "cargo"
args = ["clippy", "${@}"]
[tasks.test]
command = "cargo"
args = ["test", "${@}"]
[tasks.doc]
command = "cargo"
args = ["doc", "${@}"]
[tasks.build]
command = "cargo"
args = ["build", "${@}"]
[tasks.complete-check]
dependencies = ["fmt", "check", "clippy", "test", "doc", "build"]
[tasks.code-coverage]
workspace = false
install_crate = "cargo-tarpaulin"
command = "cargo"
args = [
"tarpaulin",
"--exclude-files=target/*",
"--out=html",
"--output-dir=coverage",
"--skip-clean",
"--target-dir=target/tarpaulin"
]

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# Userstyles 🎨
> **Bauke's collection of userstyles.**
## License
Distributed under the [AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license, see [LICENSE](https://git.bauke.xyz/Bauke/userstyles/src/branch/main/LICENSE) for more information.

View File

@ -1,27 +1,22 @@
{ {
"name": "userstyles", "private": true,
"version": "0.0.0",
"license": "AGPL-3.0-or-later",
"scripts": { "scripts": {
"test": "stylelint 'source/**/*.scss'" "test": "cargo make complete-check && stylelint 'source/**/*.scss'"
}, },
"devDependencies": { "devDependencies": {
"stylelint": "^13.13.1", "stylelint": "^14.12.1",
"stylelint-config-xo-scss": "^0.14.0", "stylelint-config-standard-scss": "^5.0.0"
"stylelint-config-xo-space": "^0.15.1"
}, },
"stylelint": { "stylelint": {
"extends": [ "extends": [
"stylelint-config-xo-scss", "stylelint-config-standard-scss"
"stylelint-config-xo-space"
],
"ignoreFiles": [
"build/**/*.css"
], ],
"rules": { "rules": {
"at-rule-no-unknown": null, "at-rule-no-unknown": null,
"block-no-empty": null, "block-no-empty": null,
"no-descending-specificity": null "no-descending-specificity": null,
"no-invalid-position-at-import-rule": null,
"string-quotes": "single"
} }
} }
} }

1985
yarn.lock

File diff suppressed because it is too large Load Diff