forked from nikitabobko/AeroSpace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation: brew can't properly track versions Install asciidoctor using ruby bundle
- Loading branch information
1 parent
64971ab
commit 936749f
Showing
10 changed files
with
52 additions
and
30 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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# frozen_string_literal: true | ||
ruby '~> 3.0' # >= 3.0 and < 4.0 | ||
|
||
source "https://rubygems.org" | ||
gem 'asciidoctor', '2.0.23' | ||
gem 'pygments.rb', '3.0' |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
asciidoctor (2.0.23) | ||
pygments.rb (3.0.0) | ||
|
||
PLATFORMS | ||
arm64-darwin-23 | ||
ruby | ||
|
||
DEPENDENCIES | ||
asciidoctor (= 2.0.23) | ||
pygments.rb (= 3.0) | ||
|
||
RUBY VERSION | ||
ruby 3.3.4p94 | ||
|
||
BUNDLED WITH | ||
2.5.11 |
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 |
---|---|---|
|
@@ -11,13 +11,17 @@ If you struggle to build AeroSpace locally, you can also refer to [builds in Git | |
|
||
## 1. Install dependencies | ||
|
||
1. Install Xcode from App Store | ||
2. Install remaining dependencies | ||
```shell | ||
git clone [email protected]:nikitabobko/AeroSpace.git | ||
cd AeroSpace | ||
brew bundle install | ||
``` | ||
Install Xcode from App Store https://apps.apple.com/us/app/xcode/id497799835 | ||
|
||
If you want to build shell completion, install rust, bash and fish | ||
- Install Rust using rustup. https://www.rust-lang.org/tools/install | ||
- `brew install bash fish` | ||
|
||
If you want to build man pages, install Ruby >= 3.0. I recommend using [rbenv](https://github.com/rbenv/rbenv). | ||
- `rbenv install 3.3.4` (or whatever 3.x version) | ||
- Install asciidoctor using Ruby `bundler`. `cd AeroSpace && bundler install` | ||
|
||
Install optional `xcbeautify` to make Xcode build logs readable. `brew install xcbeautify` | ||
|
||
## 2. Create codesign certificate | ||
|
||
|
@@ -37,7 +41,7 @@ Signing the binary is required to preserve accessibility permission across rebui | |
- `run-tests.sh` - Run tests | ||
- `run-debug.sh` - Run debug build of AeroSpace.app. It might be better to run debug build from Xcode. | ||
- `run-cli.sh` - Run `aerospace` in CLI. Arguments are forwarded to `aerospace` binary | ||
- `build-docs.sh` - Build the site and manpages to `.site` and `.man` dirs respectively | ||
- `build-docs.sh` - Build the site and man pages to `.site` and `.man` dirs respectively | ||
- `build-shell-completion.sh` - Build shell completion to `.shell-completion` | ||
- `generate.sh` - Regenerate generated project files. `AeroSpace.xcodeproj` is generated, and some of the source files | ||
(the source files have `Generated` suffix in their names) | ||
|
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