Compare commits
5 Commits
64bdf1c48a
...
10f3f33048
Author | SHA1 | Date |
---|---|---|
jaina heartles | 10f3f33048 | |
jaina heartles | 6900c77a32 | |
jaina heartles | 469df7bfcd | |
jaina heartles | cac2b014c5 | |
jaina heartles | 7e6110fbfe |
|
@ -0,0 +1,27 @@
|
|||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
settings:
|
||||
depth: 1
|
||||
lfs: false
|
||||
|
||||
pipeline:
|
||||
zig-compiler:
|
||||
image: alpine
|
||||
- echo "Downloading dependencies..."
|
||||
- apk add curl xz
|
||||
- echo "Downloading zig binary..."
|
||||
- curl https://ziglang.org/download/0.10.0/zig-linux-x86_64-0.10.0.tar.xz | xz -d | tar -x
|
||||
|
||||
format:
|
||||
image: alpine
|
||||
- echo "Checking formatting..."
|
||||
- ./zig-linux-x86_64-0.10.0/zig fmt --check src/ tests/ build.zig
|
||||
|
||||
unit-tests:
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "Downloading dependencies..."
|
||||
- apk add sqlite sqlite-dev libpq libpq-dev
|
||||
- echo "Running unit tests..."
|
||||
- ./zig-linux-x86_64-0.10.0/zig build unit
|
|
@ -1,4 +1,6 @@
|
|||
# Untitled Social Network server
|
||||
# fediglam
|
||||
[![status-badge](https://ci.heartles.xyz/api/badges/heartles/fediglam/status.svg)](https://ci.heartles.xyz/heartles/fediglam)
|
||||
A (soon to be federated) social networking server
|
||||
|
||||
## Building
|
||||
### Requirements
|
||||
|
|
|
@ -68,7 +68,7 @@ pub const Iter = struct {
|
|||
/// + pub fn parse([]const u8) !F
|
||||
///
|
||||
/// Boolean Parameters:
|
||||
/// The following query strings will all parse a `true` value for the
|
||||
/// The following query strings will all parse a `true` value for the
|
||||
/// parameter `foo: bool = false`:
|
||||
/// - `?foo`
|
||||
/// - `?foo=true`
|
||||
|
|
Loading…
Reference in New Issue