From 37695f8d63d27695bc2a8260e2090a2b6ca39951 Mon Sep 17 00:00:00 2001 From: Garen Tyler Date: Thu, 10 Dec 2020 22:05:01 -0700 Subject: [PATCH] Prepare for publish on crates.io --- Cargo.toml | 3 +++ build.rs | 9 --------- package.json | 3 ++- readme.md | 1 + 4 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 build.rs diff --git a/Cargo.toml b/Cargo.toml index 6b660d7..78ac2a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,9 @@ name = "pivot" version = "0.1.0" authors = ["Garen Tyler "] 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 diff --git a/build.rs b/build.rs deleted file mode 100644 index 25c36ff..0000000 --- a/build.rs +++ /dev/null @@ -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"); -} diff --git a/package.json b/package.json index baa9f3d..31d73ac 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "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.", "main": "test.js", + "private": true, "dependencies": { "wasi": "0.0.6" }, diff --git a/readme.md b/readme.md index 766d653..67e3bb1 100644 --- a/readme.md +++ b/readme.md @@ -7,6 +7,7 @@ Pivot is a new programming language built with Rust by Garen Tyler. Pivot is cur ### Development * 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. +* Run `npm install` to install the JavaScript dependencies. * Scripts: * `npm run clean` to delete dependencies and output files. * `npm run build` to build the project.