-
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.
Merge pull request #125 from sezna/alex/publish
Various updates required for publishing to crates.io
- Loading branch information
Showing
37 changed files
with
266 additions
and
179 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 |
---|---|---|
|
@@ -8,7 +8,6 @@ on: | |
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
NO_COLOR: 1 | ||
|
||
jobs: | ||
build: | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ members = [ | |
"petr-parse", | ||
"petr-fmt", | ||
"petr-utils", | ||
"pete", | ||
"petr-cli", | ||
"petr-codegen", | ||
"petr-ast", | ||
"petr-typecheck", | ||
|
@@ -15,5 +15,14 @@ members = [ | |
"petr-pkg", | ||
"petr-profiling", | ||
"petr-api", | ||
"petr-playground" | ||
, "stdlib"] | ||
"petr-playground", | ||
"petr-stdlib", | ||
] | ||
|
||
[workspace.package] | ||
version = "0.1.0" | ||
edition = "2021" | ||
homepage = "https://petr.sh" | ||
license = "MIT" | ||
repository = "https://github.com/sezna/petr" | ||
authors = ["Alex Hansen <[email protected]>"] |
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 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
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,9 +1,15 @@ | ||
[package] | ||
name = "petr-ast" | ||
version = "0.1.0" | ||
edition = "2021" | ||
version.workspace = true | ||
edition.workspace = true | ||
repository.workspace = true | ||
homepage.workspace = true | ||
authors.workspace = true | ||
|
||
description = "AST types for the petr language" | ||
license.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
petr-utils = { path = "../petr-utils" } | ||
petr-utils = { path = "../petr-utils", version = "0.1.0" } |
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,15 +1,21 @@ | ||
[package] | ||
name = "petr-bind" | ||
version = "0.1.0" | ||
edition = "2021" | ||
version.workspace = true | ||
edition.workspace = true | ||
repository.workspace = true | ||
homepage.workspace = true | ||
authors.workspace = true | ||
|
||
description = "The binding stage of the petr compiler" | ||
license.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
petr-utils = { path = "../petr-utils" } | ||
petr-ast = { path = "../petr-ast" } | ||
petr-utils = { path = "../petr-utils", version = "0.1.0" } | ||
petr-ast = { path = "../petr-ast", version = "0.1.0" } | ||
|
||
|
||
[dev-dependencies] | ||
expect-test = "1.5.0" | ||
petr-parse = { path = "../petr-parse" } | ||
petr-parse = { path = "../petr-parse", version = "0.1.0" } |
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,28 @@ | ||
[package] | ||
name = "petr-cli" | ||
version.workspace = true | ||
edition.workspace = true | ||
repository.workspace = true | ||
homepage.workspace = true | ||
authors.workspace = true | ||
|
||
license.workspace = true | ||
description = "command line tool for compiling petr code" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
clap = { version = "4.5.4", features = ["derive"] } | ||
petr-api = { "path" = "../petr-api", features = ["fancy", "default"], version = "0.1.0" } | ||
petr-profiling = { "path" = "../petr-profiling", version = "0.1.0" } | ||
petr-resolve = { "path" = "../petr-resolve", version = "0.1.0" } | ||
petr-typecheck = { "path" = "../petr-typecheck", version = "0.1.0" } | ||
thiserror = "1.0" | ||
toml = "0.8" | ||
termcolor = { version = "1.4" } | ||
petr-pkg = { "path" = "../petr-pkg", version = "0.1.0" } | ||
petr-stdlib = { "path" = "../petr-stdlib", version = "0.1.0" } | ||
|
||
[[bin]] | ||
name = "pete" | ||
path = "src/main.rs" |
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
File renamed without changes.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.