devinator 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +13 -7
- data/Makefile +7 -1
- data/README.md +53 -3
- data/devinator.gemspec +2 -0
- data/lib/devinator/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f17530cb7dd29207ae5eb905c34ed38324b138a0929c096ac3abe323548c3af
|
|
4
|
+
data.tar.gz: 877045f49e6ea278b69e474b51c68c7185ef7f74af622ced5b71bb39f8bfe784
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b4da0686c9c96371fd8c16d2473610f86457f43b793366128491f8e7cfc9531db59db8e2966f010159119d89bd8693a5e60d1222849547cd12f8f759f81f0ba
|
|
7
|
+
data.tar.gz: f22476dd8fc09263fff82b3e242110e97e2c1e9e5963ec8bce30130adfac8b29e0795caf4cc0cce45041c0dbcb632a42f795ca20aedc42a261ec575d82a584e9
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,20 +1,29 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
devinator (0.0.2)
|
|
5
|
+
tty-command
|
|
6
|
+
|
|
1
7
|
GEM
|
|
2
8
|
specs:
|
|
9
|
+
pastel (0.8.0)
|
|
10
|
+
tty-color (~> 0.5)
|
|
11
|
+
tty-color (0.6.0)
|
|
12
|
+
tty-command (0.10.1)
|
|
13
|
+
pastel (~> 0.8)
|
|
3
14
|
|
|
4
15
|
GEM
|
|
5
16
|
remote: https://rubygems.org/
|
|
6
17
|
specs:
|
|
7
18
|
ast (2.4.3)
|
|
8
19
|
diff-lcs (1.6.2)
|
|
9
|
-
json (2.15.
|
|
20
|
+
json (2.15.2)
|
|
10
21
|
language_server-protocol (3.17.0.5)
|
|
11
22
|
lint_roller (1.1.0)
|
|
12
23
|
parallel (1.27.0)
|
|
13
24
|
parser (3.3.9.0)
|
|
14
25
|
ast (~> 2.4.1)
|
|
15
26
|
racc
|
|
16
|
-
pastel (0.8.0)
|
|
17
|
-
tty-color (~> 0.5)
|
|
18
27
|
prism (1.6.0)
|
|
19
28
|
racc (1.8.1)
|
|
20
29
|
rainbow (3.1.1)
|
|
@@ -65,9 +74,6 @@ GEM
|
|
|
65
74
|
rubocop-performance (~> 1.25.0)
|
|
66
75
|
standardrb (1.0.1)
|
|
67
76
|
standard
|
|
68
|
-
tty-color (0.6.0)
|
|
69
|
-
tty-command (0.10.1)
|
|
70
|
-
pastel (~> 0.8)
|
|
71
77
|
unicode-display_width (3.2.0)
|
|
72
78
|
unicode-emoji (~> 4.1)
|
|
73
79
|
unicode-emoji (4.1.0)
|
|
@@ -77,9 +83,9 @@ PLATFORMS
|
|
|
77
83
|
x86_64-linux
|
|
78
84
|
|
|
79
85
|
DEPENDENCIES
|
|
86
|
+
devinator!
|
|
80
87
|
rspec!
|
|
81
88
|
standardrb!
|
|
82
|
-
tty-command!
|
|
83
89
|
|
|
84
90
|
BUNDLED WITH
|
|
85
91
|
2.7.2
|
data/Makefile
CHANGED
data/README.md
CHANGED
|
@@ -8,9 +8,59 @@ opinionated but can be twisted to your will.
|
|
|
8
8
|
Simply `cd` to your project and run `devinator`. It will do several things for
|
|
9
9
|
you in this order:
|
|
10
10
|
|
|
11
|
+
1. `bin/setup`
|
|
12
|
+
2. launch your editor
|
|
13
|
+
3. start `tmux`
|
|
14
|
+
4. run the commands in `Procfile.dev` or `bin/dev`
|
|
15
|
+
|
|
16
|
+
### With a dx setup
|
|
17
|
+
|
|
18
|
+
If you have some extra files they will be used to run your project in the dx
|
|
19
|
+
environment. So running it would look more like:
|
|
20
|
+
|
|
11
21
|
1. `dx/build`
|
|
12
22
|
2. `dx/start`
|
|
13
|
-
3. `
|
|
14
|
-
4. start your multiplexer
|
|
23
|
+
3. `dx/exec bin/setup`
|
|
15
24
|
5. launch your editor
|
|
16
|
-
|
|
25
|
+
4. start `tmux`
|
|
26
|
+
6. run the commands in `Procfile.dev` prefixed with `dx/exec` or `dx/exec bin/dev`
|
|
27
|
+
|
|
28
|
+
## Installation for Linux/OSX
|
|
29
|
+
|
|
30
|
+
1. run `ruby --version` to confirm it's installed
|
|
31
|
+
2. `gem install devinator`
|
|
32
|
+
3. `which devinator` to confirm it installed and is in your `$PATH`
|
|
33
|
+
|
|
34
|
+
## Configuration
|
|
35
|
+
|
|
36
|
+
Open `~/.config/devinator.rb` with your editor of choice and add the following
|
|
37
|
+
content:
|
|
38
|
+
|
|
39
|
+
```ruby
|
|
40
|
+
Devinator::Config.configure do |config|
|
|
41
|
+
# Use this to run any personal commands before the usual culprits, this is
|
|
42
|
+
# useful for loading secrets and the like.
|
|
43
|
+
config.setup_commands = []
|
|
44
|
+
|
|
45
|
+
# If your editor is run in as :first_command or :last_command then this is the
|
|
46
|
+
# title that tmux will get for that window.
|
|
47
|
+
config.editor.title = "editor"
|
|
48
|
+
|
|
49
|
+
# This is your editor command, if you're running it with a timing of
|
|
50
|
+
# :end_of_setup then you will want to make sure this isn't foregrounded. I
|
|
51
|
+
# belive `code` by default will go into the background, so that's a good setup
|
|
52
|
+
# if you use VSCode.
|
|
53
|
+
config.editor.command = ENV["EDITOR"]
|
|
54
|
+
|
|
55
|
+
# This is when you want your editor command to run, the valid options are:
|
|
56
|
+
# - :end_of_setup
|
|
57
|
+
# - :first_command
|
|
58
|
+
# - :last_command
|
|
59
|
+
#
|
|
60
|
+
# :end_of_setup will call it as the last setup command before tmux is
|
|
61
|
+
# launched.
|
|
62
|
+
# :first_command will call it in the first window of tmux
|
|
63
|
+
# :last_command will call it in the last window of tmux
|
|
64
|
+
config.editor.timing = :first_command
|
|
65
|
+
end
|
|
66
|
+
```
|
data/devinator.gemspec
CHANGED
data/lib/devinator/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: devinator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sean Earle
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
-
dependencies:
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: tty-command
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0'
|
|
12
26
|
description: |2
|
|
13
27
|
A little tool to help you get your development
|
|
14
28
|
environment up and running with a single command.
|