Commit Graph

28 Commits

Author SHA1 Message Date
Florent Vilmart
5ef509d783 feat: Add support for tmuxinator append
All checks were successful
Integration Tests / test (3.1.6, 1.5) (push) Successful in 1m44s
Integration Tests / test (3.1.6, 1.6) (push) Successful in 56s
Integration Tests / test (3.1.6, 1.7) (push) Successful in 59s
Integration Tests / test (3.1.6, 1.9) (push) Successful in 1m9s
Integration Tests / test (3.1.6, 2.0) (push) Successful in 1m12s
Integration Tests / test (3.1.6, 1.8) (push) Successful in 1m7s
Integration Tests / test (3.1.6, 2.1) (push) Successful in 1m9s
Integration Tests / test (3.1.6, 2.2) (push) Successful in 1m10s
Integration Tests / test (3.1.6, 2.3) (push) Successful in 1m9s
Integration Tests / test (3.1.6, 2.4) (push) Successful in 1m9s
Integration Tests / test (3.1.6, 2.5) (push) Successful in 1m10s
Integration Tests / test (3.1.6, 2.6) (push) Successful in 1m12s
Integration Tests / test (3.1.6, 2.7) (push) Successful in 1m13s
Integration Tests / test (3.1.6, 2.8) (push) Successful in 1m13s
Integration Tests / test (3.1.6, 2.9) (push) Successful in 1m13s
Integration Tests / test (3.1.6, 2.9a) (push) Successful in 1m15s
Integration Tests / test (3.1.6, 3.0) (push) Successful in 1m14s
Integration Tests / test (3.1.6, 3.0a) (push) Successful in 1m14s
Integration Tests / test (3.1.6, 3.1) (push) Successful in 1m18s
Integration Tests / test (3.1.6, 3.1a) (push) Successful in 1m20s
Integration Tests / test (3.1.6, 3.1b) (push) Successful in 1m14s
Integration Tests / test (3.1.6, 3.1c) (push) Successful in 1m15s
Integration Tests / test (3.1.6, 3.2) (push) Successful in 1m23s
Integration Tests / test (3.1.6, 3.2a) (push) Successful in 1m22s
Integration Tests / test (3.1.6, 3.3) (push) Successful in 1m24s
Integration Tests / test (3.1.6, 3.3a) (push) Successful in 1m24s
Integration Tests / test (3.1.6, 3.4) (push) Successful in 1m24s
Integration Tests / test (3.1.6, 3.5) (push) Successful in 1m28s
Integration Tests / test (3.1.6, 3.5a) (push) Successful in 1m24s
Integration Tests / test (3.2.5, 1.5) (push) Successful in 1m18s
Integration Tests / test (3.2.5, 1.8) (push) Successful in 1m7s
Integration Tests / test (3.2.5, 1.9) (push) Successful in 1m11s
Integration Tests / test (3.2.5, 2.3) (push) Successful in 1m10s
Integration Tests / test (3.2.5, 2.6) (push) Successful in 1m15s
Integration Tests / test (3.2.5, 2.8) (push) Successful in 1m32s
Integration Tests / test (3.2.5, 3.0a) (push) Successful in 1m39s
Integration Tests / test (3.2.5, 3.1b) (push) Successful in 1m35s
Integration Tests / test (3.2.5, 3.1c) (push) Successful in 1m34s
Integration Tests / test (3.2.5, 3.2a) (push) Successful in 1m45s
Integration Tests / test (3.2.5, 1.6) (push) Successful in 1m1s
Integration Tests / test (3.2.5, 1.7) (push) Successful in 1m1s
Integration Tests / test (3.2.5, 2.0) (push) Successful in 1m12s
Integration Tests / test (3.2.5, 2.1) (push) Successful in 1m8s
Integration Tests / test (3.2.5, 2.2) (push) Successful in 1m7s
Integration Tests / test (3.2.5, 2.4) (push) Successful in 1m12s
Integration Tests / test (3.2.5, 2.5) (push) Successful in 1m11s
Integration Tests / test (3.2.5, 2.7) (push) Successful in 1m30s
Integration Tests / test (3.2.5, 2.9) (push) Successful in 1m31s
Integration Tests / test (3.2.5, 2.9a) (push) Successful in 1m37s
Integration Tests / test (3.2.5, 3.0) (push) Successful in 1m35s
Integration Tests / test (3.2.5, 3.1) (push) Successful in 1m38s
Integration Tests / test (3.2.5, 3.1a) (push) Successful in 1m28s
Integration Tests / test (3.2.5, 3.2) (push) Successful in 1m46s
Integration Tests / test (3.2.5, 3.3) (push) Successful in 1m42s
Integration Tests / test (3.2.5, 3.3a) (push) Successful in 1m50s
Integration Tests / test (3.2.5, 3.4) (push) Successful in 1m46s
Integration Tests / test (3.2.5, 3.5) (push) Successful in 1m47s
Integration Tests / test (3.2.5, 3.5a) (push) Successful in 1m48s
Integration Tests / test (3.3.5, 1.5) (push) Successful in 1m44s
Integration Tests / test (3.3.5, 1.6) (push) Successful in 1m16s
Integration Tests / test (3.3.5, 1.7) (push) Successful in 1m22s
Integration Tests / test (3.3.5, 1.8) (push) Successful in 1m33s
Integration Tests / test (3.3.5, 1.9) (push) Successful in 1m25s
Integration Tests / test (3.3.5, 2.0) (push) Successful in 1m43s
Integration Tests / test (3.3.5, 2.1) (push) Successful in 1m30s
Integration Tests / test (3.3.5, 2.2) (push) Successful in 1m33s
Integration Tests / test (3.3.5, 2.3) (push) Successful in 1m35s
Integration Tests / test (3.3.5, 2.4) (push) Successful in 1m34s
Integration Tests / test (3.3.5, 2.5) (push) Successful in 1m35s
Integration Tests / test (3.3.5, 2.6) (push) Successful in 1m34s
Integration Tests / test (3.3.5, 2.7) (push) Successful in 1m37s
Integration Tests / test (3.3.5, 2.8) (push) Successful in 1m34s
Integration Tests / test (3.3.5, 2.9) (push) Successful in 1m44s
Integration Tests / test (3.3.5, 2.9a) (push) Successful in 1m36s
Integration Tests / test (3.3.5, 3.0) (push) Successful in 1m37s
Integration Tests / test (3.3.5, 3.0a) (push) Successful in 1m36s
Integration Tests / test (3.3.5, 3.1) (push) Successful in 1m36s
Integration Tests / test (3.3.5, 3.1a) (push) Successful in 1m32s
Integration Tests / test (3.3.5, 3.1b) (push) Successful in 1m40s
Integration Tests / test (3.3.5, 3.1c) (push) Successful in 1m35s
Integration Tests / test (3.3.5, 3.2) (push) Successful in 1m40s
Integration Tests / test (3.3.5, 3.2a) (push) Successful in 1m43s
Integration Tests / test (3.3.5, 3.3) (push) Successful in 1m44s
Integration Tests / test (3.3.5, 3.3a) (push) Successful in 1m45s
Integration Tests / test (3.3.5, 3.4) (push) Successful in 1m50s
Integration Tests / test (3.3.5, 3.5) (push) Successful in 1m42s
Integration Tests / test (3.3.5, 3.5a) (push) Successful in 1m48s
Adds support for tmuxinator append

Adds ability to specify default loading behavior (start or append)

- Use start when not possible to append

nits

nits and improvements

refactor Cli::bootstrap (#1)

Adds reference to the new command

use say

cli: Adds tests for bootstraping with option set to append

adds tests for project window index

refactor to use start --append instead of append. improve config loading

reduce complexity of the start method

reduce complexity in cli.rb

void(commit)

extract get params

Update lib/tmuxinator/config.rb

Update lib/tmuxinator/project.rb

Update lib/tmuxinator/cli.rb

Co-authored-by: Noah Frederick <code@noahfrederick.com>
Co-authored-by: Andrew Kofink <ajkofink@gmail.com>
Signed-off-by: Andrew Kofink <ajkofink@gmail.com>
2025-03-17 07:36:09 -04:00
Andrew Kofink
960085a50a chore: Fix rubocop failures
Signed-off-by: Andrew Kofink <ajkofink@gmail.com>
2024-03-31 14:40:26 -04:00
Alexandros Giouzenis
a835a1b0df Allow YAML aliases to work 2018-06-20 09:34:14 +03:00
ge-fa
b0ece95147 Drop factory_girl, introduce factory_bot (#604)
This library got renamed, see [1] for details.

[1] https://github.com/thoughtbot/factory_bot/blob/master/NAME.md
2018-03-26 23:17:27 -04:00
Adam Strickland
2cd3c675fe fixes cops 2017-11-28 09:56:03 -06:00
Peter Doherty
f6d8b2e5ec 564 - prevent Project#tmux_has_session? from choking on shellescape'd emojis 2017-10-15 13:40:14 -04:00
Peter Doherty
449508d1b7 introduce and use noroot fixture/factory in project_spec 2016-09-23 17:47:31 -04:00
ncoop
a982d8bb7e Integrate fixture into spec 2016-03-29 13:32:58 -07:00
Adam Strickland
da53a640a0 Adds tmuxinator local
- refactors Tmuxinator::Cli#create_project to use keyword args (so as to
  more easily support using/not using a name
- adds a nowindows test case
- moves file loading to Tmuxinator::Project::load
- moves project validation to Tmuxinator::Project#validate!
- alters bin/tmuxinator to accept a no-arg invocation, executing the
  local command in that case
2015-09-21 15:15:44 -05:00
Peter Doherty
db3620b36b change single-quotes to double-quotes in project_with_number_as_name definition to accommodate style guide 2015-07-26 15:55:14 -04:00
Peter Doherty
5e01717fff prevent project names containing only numbers from causing NoMethodError 2015-07-25 22:23:53 -04:00
Joe DePung
45e523cdad [292] change to double quotes for Hound violation 2015-07-21 08:19:58 -05:00
Joe DePung
5bb496474b [292] fixing Hound violations, making entire file consistent 2015-07-21 08:17:08 -05:00
Joe DePung
9ce60a14ab [292] make tmux_new_session_command work when the first window has no name 2015-07-21 07:04:49 -05:00
Stefan Schwetschke
b356b3f0a4 * Fixed test cases
* Bugfix: Attach was defined twice in project
2015-06-10 20:20:22 +02:00
Stefan Schwetschke
35dfec2d99 * Merged with upstream
* Syntax OK, but still some failing test cases
2015-06-10 07:08:43 +02:00
Christopher Chow
b9fe60eb74 Fix last RSpec deprecation. 2015-06-06 22:08:07 +10:00
Christopher Chow
7cfc549705 Merge pull request #273 from jlipps/custom-session 2015-06-06 17:16:50 +10:00
Stefan Schwetschke
1fd25cd2d8 Added test code for force attach / detach 2015-05-25 14:20:06 +02:00
Stefan Schwetschke
0ab15e33bf Decoupled CLI options and project options for better testability 2015-05-25 13:16:36 +02:00
Stefan Schwetschke
df35910d5d Added command line option for detached session 2015-05-23 23:13:57 +02:00
Erik Nygren
c0c2a608db Doens't throw error when project file doesn't specify name
the project.rb#name function forgot to check for nil
adds a .blank check similarly to how .root works
Adds a failing test case
Adds a test case for the same behavior for #root (which already works)
Fixes #302
2015-05-11 12:50:19 -04:00
Christopher Chow
4a9a8478d6 Fix some factory_girl deprecations. 2015-02-27 23:05:43 +11:00
Jonathan Lipps
de291d0adb add param to 'start' that starts project with custom session name/socket
this allows projects to be reused
fix #143
2014-12-15 15:25:32 -08:00
Andrew Thal
28e5ba658d Allow wemux usage. #88 2014-03-19 09:57:03 -04:00
Christopher Chow
785585206f Add a bunch more tests . 2013-07-26 22:59:11 +10:00
Christopher Chow
42abb3f53d Move config check of CLI class and start using factory_girl. 2013-06-04 23:27:47 +10:00
Christopher Chow
e969b01a8c Major refactor of tmuxinator config representation.
- Test coverage is > 90% 
- Create a pane class to represent a single pane
- Create a tab class to represent a single tab, with a list of pane objects
- Flesh out the project class, now containing a list of tab objects
- Remove the config writer class
- RVM/rbenv support broken with this refactor
2013-06-02 01:06:40 +10:00