Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchristiansen committed Jun 20, 2024
0 parents commit 086cce0
Show file tree
Hide file tree
Showing 9 changed files with 488 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[{*.rs}]
indent_size = 4
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
on:
push:
branches: [main]
pull_request:
branches: [main]

env:
CARGO_TERM_COLOR: always
# A job fails if any Rust warnings are emitted.
RUSTFLAGS: "-Dwarnings"

jobs:
build:
name: build-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --release
- name: Test
run: cargo test --verbose --release

fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check formatting
run: cargo fmt --verbose --check

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Clippy
run: cargo clippy --verbose --all-targets --all-features
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
Cargo.lock
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contributing

Refer to the [organization contributing guidelines][fuyulang-contributing].

[fuyulang-contributing]: https://github.com/fuyulang/.github/blob/main/CONTRIBUTING.md
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "fuyu"
version = "0.1.1"
authors = ["Adam Christiansen <[email protected]>"]
edition = "2021"
description = "The Fuyu programming language"
homepage = "https://fuyulang.dev"
repository = "https://github.com/fuyulang/fuyu"
license = "MPL-2.0"
keywords = ["concurrent", "functional"]
categories = ["compilers", "concurrency"]
Loading

0 comments on commit 086cce0

Please sign in to comment.