Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Add rustdocs #39

Merged
merged 1 commit into from
Jun 17, 2020
Merged

Add rustdocs #39

merged 1 commit into from
Jun 17, 2020

Conversation

jackcmay
Copy link
Contributor

  • Documents
  • Move Token's Instruction into its own file

@jackcmay jackcmay requested a review from CriesofCarrots June 16, 2020 22:39

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Copy link
Contributor

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one possible CI optimization. Otherwise lgtm

cd "$(dirname "$0")/../token/js"

npm install
npm run build:program
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not crazy about building a 2nd time.
I think if we remove this from package.json:

"postinstall": "npm run bpf-sdk:update && cd .. && cargo update --manifest-path=Cargo.toml",

we can remove this 2ndary build. Wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could remove the program stuff entirely from the npm flow and instead toss up a warning message if the program does not exist and force them to go through do.sh for al program building/updating, etc...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer that. (I assumed since you didn't do that since last night, you found a reason to keep it)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do a follow-up pr for that, was focusing on just getting CI to work and sufficiently cover

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also happy to do that, if you prefer

@jackcmay jackcmay merged commit 9214d08 into solana-labs:master Jun 17, 2020
@jackcmay jackcmay deleted the add-docs branch June 17, 2020 18:25
ilmoi pushed a commit to ilmoi/solana-program-library that referenced this pull request Oct 4, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add a canonical null address
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants