Skip to content

Commit

Permalink
feat: Initial commit, building lib successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
liamwh committed Apr 4, 2024
0 parents commit b772362
Show file tree
Hide file tree
Showing 11 changed files with 1,791 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[package]
exclude = ["tmp"]
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 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"
directory: "/"
schedule:
interval: "weekly"
rebase-strategy: "disabled"
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main

jobs:
release-plz:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
# token: ${{ secrets.RELEASE_PLZ_TOKEN }}

- run: sudo apt install just
name: Install Just

- uses: bufbuild/[email protected]
with:
version: 1.30.1
name: Install Buf CLI

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Generate the library
run: just generate

# - name: Run release-plz
# uses: MarcoIeni/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
108 changes: 108 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Repository specific gitignores
tmp/
proto/
buf.gen.yaml
buf.yaml
buf.lock

# Liam's generic gitignores
target
Cargo.locks

node_modules/

# Ignore local DB files
*.db
*.db-*
.sentryclirc

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
**.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Locally generated SBOMs
**/bom.xml

build_rs_cov.profraw

coverage/*

/build
/.svelte-kit
/package
.env
.env.*
**/*.env*
!.env.example

.bacon.toml

# Book
/docs/guide/book

docker/**/data


**/frontend/src/bindings/*

# Volume mounts
deployment/**/volumes/**/data

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# Dependencies
.pnp
.pnp.js

# Local env files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Testing
coverage

# Turbo
.turbo

# Vercel
.vercel

# Build Outputs
.next/
out/
build
dist


# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Misc
.DS_Store
*.pem
Loading

0 comments on commit b772362

Please sign in to comment.