added readme and metadata for cargo publish

This commit is contained in:
Sayantan Karmakar 2022-05-30 21:30:06 +05:30
parent 0f331b5653
commit 6afed8b591
4 changed files with 11 additions and 28 deletions

View File

@ -1,26 +0,0 @@
name: publish package
on:
release:
types: [created]
jobs:
build-publish:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ts
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://npm.pkg.github.com"
# Defaults to the user or organization that owns the workflow file
scope: "@project-serum"
cache: "npm"
cache-dependency-path: ts/package-lock.json
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2
cli/Cargo.lock generated
View File

@ -2661,7 +2661,7 @@ dependencies = [
[[package]]
name = "serum-dev-tools"
version = "0.1.0"
version = "0.0.1"
dependencies = [
"anchor-client",
"anyhow",

View File

@ -1,7 +1,13 @@
[package]
name = "serum-dev-tools"
version = "0.1.0"
version = "0.0.1"
edition = "2021"
authors = ["Sayantan Karmakar <sayantankarmakar@outlook.com>"]
homepage = "https://github.com/project-serum/serum-dev-tools"
repository = "https://github.com/project-serum/serum-dev-tools"
description = "Developer Tooling Suite for building on Serum Dex"
license = "Apache-2.0"
keywords = ["solana", "project-serum", "serum-dex", "devtools"]
[[bin]]
name = "serum-dev-tools"

3
cli/README.md Normal file
View File

@ -0,0 +1,3 @@
# Serum DevTools 🛠️
A developer tooling SDK for building on [serum-dex](https://github.com/project-serum/serum-dex/).