Skip to content

Commit

Permalink
Merge pull request #2 from wiseaidev/master
Browse files Browse the repository at this point in the history
feat: Develop, Build, and Publish Library and CLI
  • Loading branch information
AlphaPrime8 authored Mar 15, 2024
2 parents 8aeb9f5 + e1b1e89 commit a8d39f8
Show file tree
Hide file tree
Showing 23 changed files with 8,902 additions and 78 deletions.
18 changes: 18 additions & 0 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[bumpversion]
current_version = 0.0.5

[bumpversion:file:Cargo.toml]
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'

[bumpversion:file:Cargo.lock]
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'

[bumpversion:file:README.md]
search = 'openbook = "{current_version}"'
replace = 'openbook = "{new_version}"'

[bumpversion:file:src/lib.rs]
search = '//! openbook = "{current_version}"'
replace = '//! openbook = "{new_version}"'
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Rust CircleCI 2.1 configuration file
version: 2.1
aliases:
- &rust_container
docker:
- image: cimg/rust:1.75.0

- &install_solana
run:
name: Install Solana CLI
command: |
sudo apt-get -qq update
sh -c "$(curl -sSfL https://release.solana.com/v1.18.3/install)"
export PATH="~/.local/share/solana/install/active_release/bin:$PATH"
- &set_env_vars
run:
name: Setup Environment Variables
command: |
mkdir -p "$(dirname "${KEY_PATH}")" && touch "${KEY_PATH}"
echo ${KEY} >> ${KEY_PATH}
jobs:
testing:
<<: *rust_container
steps:
- checkout
- *install_solana
- *set_env_vars
- run:
name: Run Tests
command: |
cargo test
workflows:
version: 2
test:
jobs:
- testing
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "cargo" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
.env
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/openbook-v1-sdk.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

Loading

0 comments on commit a8d39f8

Please sign in to comment.