Prepare for publish on crates.io
This commit is contained in:
parent
ad0e6843b7
commit
37695f8d63
@ -3,6 +3,9 @@ name = "pivot"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Garen Tyler <garentyler@gmail.com>"]
|
authors = ["Garen Tyler <garentyler@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
description = "Pivot is a new programming language built with Rust by Garen Tyler. Pivot is currently in the alpha stage of development."
|
||||||
|
license = "MIT"
|
||||||
|
repository = "https://github.com/garentyler/pivot"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
9
build.rs
9
build.rs
@ -1,9 +0,0 @@
|
|||||||
fn main() {
|
|
||||||
println!("cargo:rerun-if-changed=test.js");
|
|
||||||
println!("cargo:rerun-if-changed=package.json");
|
|
||||||
println!("cargo:rerun-if-changed=package-lock.json");
|
|
||||||
std::process::Command::new("npm")
|
|
||||||
.arg("install")
|
|
||||||
.output()
|
|
||||||
.expect("could not install npm dependencies");
|
|
||||||
}
|
|
@ -1,8 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "pivot",
|
"name": "pivot",
|
||||||
"version": "1.0.0",
|
"version": "0.1.0",
|
||||||
"description": "Pivot is a new programming language built with Rust by Garen Tyler. Pivot is currently in the alpha stage of development.",
|
"description": "Pivot is a new programming language built with Rust by Garen Tyler. Pivot is currently in the alpha stage of development.",
|
||||||
"main": "test.js",
|
"main": "test.js",
|
||||||
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"wasi": "0.0.6"
|
"wasi": "0.0.6"
|
||||||
},
|
},
|
||||||
|
@ -7,6 +7,7 @@ Pivot is a new programming language built with Rust by Garen Tyler. Pivot is cur
|
|||||||
### Development
|
### Development
|
||||||
* Download the repo with `git clone https://github.com/garentyler/pivot`.
|
* Download the repo with `git clone https://github.com/garentyler/pivot`.
|
||||||
* Make sure you have [Rust](https://www.rust-lang.org/), [NodeJS](https://nodejs.org/en/), and [NPM](https://www.npmjs.com/) installed.
|
* Make sure you have [Rust](https://www.rust-lang.org/), [NodeJS](https://nodejs.org/en/), and [NPM](https://www.npmjs.com/) installed.
|
||||||
|
* Run `npm install` to install the JavaScript dependencies.
|
||||||
* Scripts:
|
* Scripts:
|
||||||
* `npm run clean` to delete dependencies and output files.
|
* `npm run clean` to delete dependencies and output files.
|
||||||
* `npm run build` to build the project.
|
* `npm run build` to build the project.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user