Skip to content

Commit 250c62a

Browse files
committed
Initial commit
0 parents  commit 250c62a

253 files changed

Lines changed: 833444 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

.github/workflows/docs.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/**'
9+
- 'mkdocs.yml'
10+
- '.github/workflows/docs.yml'
11+
workflow_dispatch:
12+
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
concurrency:
19+
group: pages
20+
cancel-in-progress: false
21+
22+
jobs:
23+
build:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
31+
- name: Setup Python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: '3.12'
35+
36+
- name: Cache pip dependencies
37+
uses: actions/cache@v4
38+
with:
39+
path: ~/.cache/pip
40+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-docs.txt') }}
41+
restore-keys: |
42+
${{ runner.os }}-pip-
43+
44+
- name: Install dependencies
45+
run: pip install -r requirements-docs.txt
46+
47+
- name: Build documentation
48+
run: mkdocs build --strict
49+
50+
- name: Setup Pages
51+
uses: actions/configure-pages@v4
52+
53+
- name: Upload artifact
54+
uses: actions/upload-pages-artifact@v3
55+
with:
56+
path: site
57+
58+
deploy:
59+
runs-on: ubuntu-latest
60+
needs: build
61+
steps:
62+
- name: Deploy to GitHub Pages
63+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
node_modules/
2+
dist/
3+
build/
4+
*.log
5+
.DS_Store
6+
.env
7+
.env.local
8+
*.tsbuildinfo
9+
10+
# Rust
11+
target/
12+
Cargo.lock
13+
**/*.rs.bk
14+
*.pdb

Cargo.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[workspace]
2+
members = [
3+
"rust/core",
4+
"rust/geometry",
5+
"rust/wasm-bindings"
6+
]
7+
resolver = "2"
8+
9+
[workspace.package]
10+
version = "0.1.0"
11+
edition = "2021"
12+
authors = ["IFC-Lite Contributors"]
13+
license = "MIT"
14+
repository = "https://github.com/louistrue/ifc-lite"
15+
16+
[profile.release]
17+
opt-level = 3 # Optimize for speed
18+
lto = true # Link-time optimization
19+
codegen-units = 1 # Better optimization (slower compile)
20+
strip = true # Strip symbols
21+
panic = 'abort' # Smaller panic handler
22+
overflow-checks = false # Remove overflow checks in release
23+
24+
[profile.release.package."*"]
25+
opt-level = 3
26+
strip = true

0 commit comments

Comments
 (0)