Skip to content

Commit 71bb949

Browse files
committed
Initial public release
0 parents  commit 71bb949

26 files changed

+1184
-0
lines changed

.contexteditor.sample

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"editor": "vscode"
3+
}

.github/workflows/build.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build ContextEditor
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
tags:
9+
- "v*"
10+
pull_request:
11+
12+
jobs:
13+
build:
14+
runs-on: macos-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Install XcodeGen
21+
run: brew install xcodegen
22+
23+
- name: Generate Xcode project
24+
run: xcodegen generate
25+
26+
- name: Build app
27+
run: ./scripts/build_universal.sh
28+
29+
- name: Package app
30+
run: ditto -c -k --sequesterRsrc --keepParent build-universal/output/ContextEditor.app ContextEditor-macOS.zip
31+
32+
- name: Upload artifact
33+
uses: actions/upload-artifact@v4
34+
with:
35+
name: ContextEditor-macOS
36+
path: ContextEditor-macOS.zip
37+
38+
- name: Publish release asset
39+
if: startsWith(github.ref, 'refs/tags/v')
40+
uses: softprops/action-gh-release@v2
41+
with:
42+
files: ContextEditor-macOS.zip

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.DS_Store
2+
build/
3+
build-tests/
4+
build-universal/
5+
DerivedData/
6+
*.profraw
7+
*.xcuserstate
8+
*.xcworkspace/xcuserdata/
9+
*.xcodeproj/xcuserdata/
10+
*.xcscmblueprint

0 commit comments

Comments
 (0)