-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ali Karbassi <[email protected]>
- Loading branch information
Showing
5 changed files
with
93 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,9 @@ jobs: | |
runs-on: macOS-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
# - uses: actions/cache@v1 | ||
# with: | ||
|
@@ -23,16 +25,24 @@ jobs: | |
# restore-keys: | | ||
# ${{ runner.os }}-pods- | ||
|
||
- name: Install gems | ||
run: | | ||
bundle config path vendor/bundle | ||
# bundle config set without 'default doc job cable storage ujs test db' | ||
bundle install --jobs 4 --retry 3 | ||
# - name: Install gems | ||
# run: | | ||
# bundle config path vendor/bundle | ||
# # bundle config set without 'default doc job cable storage ujs test db' | ||
# bundle install --jobs 4 --retry 3 | ||
|
||
# - name: Install Dependences | ||
# run: | | ||
# bundle exec pod update | ||
# bundle exec pod install | ||
|
||
- name: Install Dependences | ||
run: | | ||
bundle exec pod update --verbose | ||
bundle exec pod install --verbose | ||
sudo gem install cocoapods | ||
pod install | ||
- name: Clean and Build | ||
run: xcodebuild CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -scheme "SelfControl" -target "SelfControl" -configuration Release clean build | ||
|
||
# - name: Build | ||
# uses: sersoft-gmbh/[email protected] | ||
|
@@ -42,12 +52,12 @@ jobs: | |
# destination: platform=macOS | ||
# action: build | ||
|
||
# https://github.com/mxcl/xcodebuild | ||
- name: Build | ||
uses: mxcl/xcodebuild@v1 | ||
with: | ||
xcode: ^12 | ||
platform: macOS | ||
action: build | ||
code-coverage: false | ||
configuration: release | ||
# # https://github.com/mxcl/xcodebuild | ||
# - name: Build | ||
# uses: mxcl/xcodebuild@v1 | ||
# with: | ||
# xcode: ^12 | ||
# platform: macOS | ||
# action: build | ||
# code-coverage: false | ||
# configuration: release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem "cocoapods-binary-cache", :git => "https://github.com/grab/cocoapods-binary-cache.git", :tag => "0.1.11" | ||
gem "cocoapods-binary-cache", :git => "https://github.com/grab/cocoapods-binary-cache.git", :tag => "0.1.14" | ||
gem 'cocoapods-prune-localizations' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,43 @@ | ||
[SelfControl](http://selfcontrolapp.com) | ||
=========== | ||
# [SelfControl](http://selfcontrolapp.com) | ||
|
||
About | ||
----- | ||
SelfControl is a free and open-source application for macOS that lets you block <strong>your own</strong> access to distracting websites, your mail servers, or anything else on the Internet. Just set a period of time to block for, add sites to your blocklist, and click "Start." Until that timer expires, you will be unable to access those sites—even if you restart your computer or delete the application. | ||
## About | ||
|
||
SelfControl is a free and open-source application for macOS that lets you block **your own** access to distracting websites, your mail servers, or anything else on the Internet. Just set a period of time to block for, add sites to your blocklist, and click "Start." Until that timer expires, you will be unable to access those sites—even if you restart your computer or delete the application. | ||
|
||
## Credits | ||
|
||
Credits | ||
------- | ||
Developed by [Charlie Stigler](http://charliestigler.com), [Steve Lambert](http://visitsteve.com), and [others](https://github.com/SelfControlApp/selfcontrol/graphs/contributors). Your contributions very welcome! | ||
|
||
SelfControl is now available in 12 languages thanks to [the fine translators credited here](https://github.com/SelfControlApp/selfcontrol/wiki/Translation-Credits). | ||
|
||
License | ||
------- | ||
SelfControl is free software under the GPL. See [this file](https://github.com/SelfControlApp/selfcontrol/blob/master/COPYING) for more details. | ||
## License | ||
|
||
SelfControl is free software under the GPL. See [this file](COPYING) for more details. | ||
|
||
Building For Development | ||
-------------------- | ||
## Building For Development | ||
|
||
Users should always download the latest version of SelfControl from [our website]. If you want to contribute to SelfControl, you'll need to learn to build it for development. This can only be done on a Mac running a modern version of macOS. | ||
|
||
1. Clone the SelfControl repo from GitHub. | ||
|
||
```sh | ||
git clone --recurse-submodules -j8 https://github.com/SelfControlApp/selfcontrol.git | ||
``` | ||
|
||
2. Make sure you have a recent version of Xcode and the Xcode command-line tools installed. | ||
3. Install [CocoaPods](https://cocoapods.org/): `sudo gem install cocoapods` | ||
4. Install the SelfControl dependencies using CocoaPods: `pod install` | ||
|
||
3. Install [CocoaPods](https://cocoapods.org/) | ||
|
||
```sh | ||
sudo gem install cocoapods | ||
``` | ||
|
||
4. Install the SelfControl dependencies using CocoaPods | ||
|
||
```sh | ||
pod install | ||
``` | ||
|
||
5. Open the `selfcontrol.xcworkspace` file (NOT `selfcontrol.xcodeproj`) | ||
|
||
6. Build and run (you may need to update/remove code signing settings to make it build properly) |