Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

62 changes: 62 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: CI

on:
push:
branches: [main]
pull_request:

jobs:
morphcode-go:
name: morphcode (Go)
runs-on: ubuntu-latest
defaults:
run:
working-directory: morphcode
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version-file: morphcode/go.mod
cache-dependency-path: morphcode/go.sum

- name: Vet
run: go vet ./...

- name: Test (race)
run: go test -race ./...

- name: Build binary
run: CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o bin/morphcode ./cmd/morphcode

macos-app:
name: Morph Code (macOS)
runs-on: macos-15
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version-file: morphcode/go.mod
cache-dependency-path: morphcode/go.sum

- name: Install xcodegen
run: brew install xcodegen

- name: Swift package tests (MorphCore)
working-directory: apple/Packages/MorphCore
run: swift test

- name: Generate Xcode project
working-directory: apple
run: xcodegen generate

- name: Build Morph Code (macOS + bundled morphcode)
working-directory: apple
run: |
xcodebuild \
-project MorphCode.xcodeproj \
-scheme MorphCode \
-destination 'platform=macOS' \
CODE_SIGNING_ALLOWED=NO \
build
101 changes: 29 additions & 72 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,76 +1,33 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
# macOS
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local
.env

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# ============================================================
# Claudable Specific
# ============================================================

# SQLite database
prisma/*.db
prisma/*.db-journal
prisma/*.db-wal

# Generated projects
data/
/data/projects/

# Logs
*.log

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db

# Temporary files
tmp/
temp/
*.tmp

# YoYo AI version control directory
.yoyo/

# Electron build artifacts (too large for GitHub)
dist/
release/
# Xcode / Swift
apple/*.xcodeproj/
apple/*.xcworkspace/
apple/DerivedData/
apple/.build/
apple/Packages/MorphCore/.build/
apple/Packages/MorphCore/.swiftpm/
*.xcuserdata
*.xccheckout
*.moved-aside
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
build/

# Go
morphcode/bin/
morphcode/coverage.out
*.test

# Local state & secrets
.env
.env.*
*.db
*.db-shm
*.db-wal
.worktrees/
Loading
Loading