-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
61 lines (46 loc) · 1.13 KB
/
Justfile
File metadata and controls
61 lines (46 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# swift-fun Justfile
# Default recipe: list available commands
default:
@just --list
# Build the package
build:
swift build
# Build in release mode
build-release:
swift build -c release
# Run all tests
test:
swift test
# Run tests for a specific module
test-only module:
swift test --filter {{module}}Tests
# Run tests for AsyncPlus module
test-async:
swift test --filter AsyncPlusTests
# Run tests for Box module
test-box:
swift test --filter BoxTests
# Run tests for Either module
test-either:
swift test --filter EitherTests
# Run tests for SequenceBuilder module
test-sequence:
swift test --filter SequenceBuilderTests
# Run tests for StdPlus module
test-std:
swift test --filter StdPlusTests
# Clean build artifacts
clean:
swift package clean
# Create a release (dry run by default)
release *args:
./scripts/release.sh {{args}}
# Create a release (dry run)
release-dry:
./scripts/release.sh --dry-run
# Create and push a release
release-push:
./scripts/release.sh --push
# Create a release with a specific version
release-version version:
./scripts/release.sh --version {{version}}