Skip to content

Commit

Permalink
Initial source code release
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanzhong committed Feb 7, 2023
1 parent 67fe2e8 commit a9fa0a6
Show file tree
Hide file tree
Showing 304 changed files with 22,040 additions and 2 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build and test all targets

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
build:

runs-on: macos-latest

strategy:
matrix:
node-version: ['18.x']

defaults:
run:
working-directory: 'CoreEditor'

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: '**/yarn.lock'

- name: Build and test CoreEditor
run: |
yarn install
yarn build
yarn test
- name: Build MarkEditMac
run: |
xcodebuild build -project ../MarkEdit.xcodeproj -scheme MarkEditMac -destination 'platform=macOS'
- name: Test MarkEditCoreTests
run: |
xcodebuild test -project ../MarkEdit.xcodeproj -scheme MarkEditCoreTests -destination 'platform=macOS'
- name: Test ModulesTests
run: |
xcodebuild test -project ../MarkEdit.xcodeproj -scheme ModulesTests -destination 'platform=macOS'
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## System
*.DS_Store

## User settings
xcuserdata/
Local.xcconfig
16 changes: 16 additions & 0 deletions .periphery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
project: MarkEdit.xcodeproj
retain_public: true
schemes:
- MarkEditMac
- PreviewExtension
targets:
- MarkEditCore.MarkEditCore
- MarkEditKit.MarkEditKit
- MarkEditMac
- Modules.AppKitControls
- Modules.AppKitExtensions
- Modules.FontPicker
- Modules.Previewer
- Modules.Proofing
- Modules.SettingsUI
- PreviewExtension
Loading

0 comments on commit a9fa0a6

Please sign in to comment.