Skip to content

Commit

Permalink
Rename to Pine
Browse files Browse the repository at this point in the history
  • Loading branch information
lukakerr committed Mar 9, 2019
1 parent d0d0ce9 commit c7aaa52
Show file tree
Hide file tree
Showing 144 changed files with 434 additions and 402 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
- Preferences for enabling/disabling markdown extensions
- Paste image(s) directly into the editor and have them be inserted in markdown format
- New icons used for sidebar files/folders
- Button to set Twig as the default Markdown application
- Button to set Pine as the default Markdown application

### Fixes
- Fix possible crash when changing preferences

### Other
- Renamed to Pine
- Add a Makefile to improve building/releasing

## [0.0.6] - 2019-02-24
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Contributing

Thanks for wanting to contribute to Twig!
Thanks for wanting to contribute to Pine!

A list of todo's exists in the [README.md](./README.md) and these should be focused on first before any other features are introduced.

If you are fixing a bug or implementing a feature, feel free to open a PR.

Bug reporting is also contributing, and opening issues describing bugs helps development.
Bug reporting is also contributing, and opening issues describing bugs helps development.
18 changes: 9 additions & 9 deletions Docs/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

Let `x.x.x` represent the version number.

1. In Xcode select the Twig project from the sidebar
1. In Xcode select the Pine project from the sidebar
2. Under the 'General' tab, bump the version number
3. Create a git commit titled 'Bump version to x.x.x' and push to remote
4. Run `make release`
5. Compress Twig.app into a .zip file named Twig-x.x.x.zip
5. Compress Pine.app into a .zip file named Pine-x.x.x.zip
6. In GitHub draft a new release
- Tag version: `x.x.x`
- Release title: `Twig x.x.x`
- Release title: `Pine x.x.x`
- Describe this release:
```
Twig version x.x.x.
Pine version x.x.x.
New features:
Expand All @@ -26,11 +26,11 @@ Let `x.x.x` represent the version number.
- ...
```
- Upload Twig.x.x.x.zip
- Upload Pine.x.x.x.zip
7. Click 'Publish release'
8. Download the Twig.x.x.x.zip from the newly created release
8. Download the Pine.x.x.x.zip from the newly created release
9. Open `lukakerr/homebrew-casks` repository
10. Create a new branch if one already doesn't exist
11. Run `shasum -a 256 ~/Downloads/Twig-x.x.x.zip` and copy the SHA-256 checksum
12. Run `open Casks/twig.rb` and update the cask with the new version and checksum
13. Create a git commit with the message `Update Twig to x.x.x` and push to remote
11. Run `shasum -a 256 ~/Downloads/Pine-x.x.x.zip` and copy the SHA-256 checksum
12. Run `open Casks/pine.rb` and update the cask with the new version and checksum
13. Create a git commit with the message `Update Pine to x.x.x` and push to remote
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ all: build

build:
xcodebuild clean build \
-scheme Twig \
-workspace ./Twig.xcworkspace
-scheme Pine \
-workspace ./Pine.xcworkspace

test:
xcodebuild \
-scheme Twig \
-scheme Pine \
-configuration Debug test \
-workspace ./Twig.xcworkspace
-workspace ./Pine.xcworkspace

release:
xcodebuild archive \
-scheme Twig \
-workspace ./Twig.xcworkspace \
-scheme Pine \
-workspace ./Pine.xcworkspace \
-archivePath Release/App.xcarchive

open Release/App.xcarchive/Products/Applications
Expand Down
182 changes: 99 additions & 83 deletions Twig.xcodeproj/project.pbxproj → Pine.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A156AF7C2090606C0098BBDD"
BuildableName = "Twig.app"
BlueprintName = "Twig"
ReferencedContainer = "container:Twig.xcodeproj">
BuildableName = "Pine.app"
BlueprintName = "Pine"
ReferencedContainer = "container:Pine.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -33,29 +33,29 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A156AF902090606D0098BBDD"
BuildableName = "TwigTests.xctest"
BlueprintName = "TwigTests"
ReferencedContainer = "container:Twig.xcodeproj">
BuildableName = "PineTests.xctest"
BlueprintName = "PineTests"
ReferencedContainer = "container:Pine.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A156AF9B2090606D0098BBDD"
BuildableName = "TwigUITests.xctest"
BlueprintName = "TwigUITests"
ReferencedContainer = "container:Twig.xcodeproj">
BuildableName = "PineUITests.xctest"
BlueprintName = "PineUITests"
ReferencedContainer = "container:Pine.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A156AF7C2090606C0098BBDD"
BuildableName = "Twig.app"
BlueprintName = "Twig"
ReferencedContainer = "container:Twig.xcodeproj">
BuildableName = "Pine.app"
BlueprintName = "Pine"
ReferencedContainer = "container:Pine.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
Expand All @@ -76,9 +76,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A156AF7C2090606C0098BBDD"
BuildableName = "Twig.app"
BlueprintName = "Twig"
ReferencedContainer = "container:Twig.xcodeproj">
BuildableName = "Pine.app"
BlueprintName = "Pine"
ReferencedContainer = "container:Pine.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
Expand All @@ -95,9 +95,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A156AF7C2090606C0098BBDD"
BuildableName = "Twig.app"
BlueprintName = "Twig"
ReferencedContainer = "container:Twig.xcodeproj">
BuildableName = "Pine.app"
BlueprintName = "Pine"
ReferencedContainer = "container:Pine.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Twig/AppDelegate.swift → Pine/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// AppDelegate.swift
// Twig
// Pine
//
// Created by Luka Kerr on 25/4/18.
// Copyright © 2018 Luka Kerr. All rights reserved.
Expand All @@ -14,8 +14,8 @@ let defaults = UserDefaults.standard
class AppDelegate: NSObject, NSApplicationDelegate {

/// The key window's `WindowController` instance
private var keyWindowController: TwigWindowController? {
return NSApp.keyWindow?.windowController as? TwigWindowController
private var keyWindowController: PineWindowController? {
return NSApp.keyWindow?.windowController as? PineWindowController
}

override init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,61 +3,61 @@
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "twig-16.png",
"filename" : "pine-16@1x.png",
"scale" : "1x"
},
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "twig-32.png",
"filename" : "pine-16@2x.png",
"scale" : "2x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "twig-32.png",
"filename" : "pine-32@1x.png",
"scale" : "1x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "twig-64.png",
"filename" : "pine-32@2x.png",
"scale" : "2x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "twig-128.png",
"filename" : "pine-128@1x.png",
"scale" : "1x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "twig-256.png",
"filename" : "pine-128@2x.png",
"scale" : "2x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "twig-256.png",
"filename" : "pine-256@1x.png",
"scale" : "1x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "twig-512.png",
"filename" : "pine-256@2x.png",
"scale" : "2x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "twig-512.png",
"filename" : "pine-512@1x.png",
"scale" : "1x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "twig-1024.png",
"filename" : "pine-512@2x.png",
"scale" : "2x"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
File renamed without changes
Loading

0 comments on commit c7aaa52

Please sign in to comment.