Skip to content

Commit

Permalink
consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosantangelo committed Jan 25, 2019
1 parent e5533ea commit 1e356f9
Show file tree
Hide file tree
Showing 19 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion Main.sublime-menu
Expand Up @@ -124,7 +124,7 @@
// README
{
"caption": "View README in Github",
"command": "open_url", "args": { "url": "https://github.com/NicoSantangelo/sublime-gulp" }
"command": "open_url", "args": { "url": "https://github.com/nicosantangelo/sublime-gulp" }
}
]
}
Expand Down
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -22,19 +22,19 @@ Just type `cmd-shift-p`/`ctrl-shift-p` to bring up the command pallete and pick
You can clone the repo in your `/Packages` (*Preferences -> Browse Packages...*) folder and start using/hacking it.

cd ~/path/to/Packages
git clone git://github.com/NicoSantangelo/sublime-gulp.git Gulp
git clone git://github.com/nicosantangelo/sublime-gulp.git Gulp

### Troubleshooting

For older gulp versions, the plugin makes use of [node](http://nodejs.org/) which should already be installed if you are using Gulp. It creates a cache using node, so in some systems you might need to add your node_modules path to the NODE_PATH, for example (for Unix):

`export NODE_PATH=/usr/local/lib/node_modules`

Sublime Gulp might not work without `var gulp = require('gulp');` defined in each task file. [More info](https://github.com/NicoSantangelo/sublime-gulp/issues/12) (thanks [@smeijer](https://github.com/smeijer) for the help)
Sublime Gulp might not work without `var gulp = require('gulp');` defined in each task file. [More info](https://github.com/nicosantangelo/sublime-gulp/issues/12) (thanks [@smeijer](https://github.com/smeijer) for the help)

If you are having trouble running the plugin in **Mac OSX** it's possible that your path isn't being reported by your shell. In which case give the plugin [SublimeFixMacPath](https://github.com/int3h/SublimeFixMacPath) a try. It may resolve our issue.

If you still can't get it to run properly, first make sure your Gulp tasks run from a terminal (i.e. outside of sublime) and if so then submit an [issue](https://github.com/NicoSantangelo/sublime-gulp/issues).
If you still can't get it to run properly, first make sure your Gulp tasks run from a terminal (i.e. outside of sublime) and if so then submit an [issue](https://github.com/nicosantangelo/sublime-gulp/issues).


### CoffeeScript Support
Expand Down Expand Up @@ -353,19 +353,19 @@ The base folder for glob pattern is the first folder in you project. So, if you

#### silent_tasks_on_save

Works the same way as [tasks_on_save](https://github.com/NicoSantangelo/sublime-gulp#tasks_on_save) but it runs the tasks on `silent` mode (using `Gulp (silent)`).
Works the same way as [tasks_on_save](https://github.com/nicosantangelo/sublime-gulp#tasks_on_save) but it runs the tasks on `silent` mode (using `Gulp (silent)`).

#### kill_before_save_tasks

If any task is defined on [tasks_on_save](https://github.com/NicoSantangelo/sublime-gulp#tasks_on_save) or [silent_tasks_on_save](https://github.com/NicoSantangelo/sublime-gulp#silent_tasks_on_save) setting this option to `true` will run [gulp_kill](#killing-tasks) before running any of them.
If any task is defined on [tasks_on_save](https://github.com/nicosantangelo/sublime-gulp#tasks_on_save) or [silent_tasks_on_save](https://github.com/nicosantangelo/sublime-gulp#silent_tasks_on_save) setting this option to `true` will run [gulp_kill](#killing-tasks) before running any of them.

#### status_bar_tasks

Can be either `true`, which will show all the running tasks on the status bar, a task name like `"watch"` or an array of task names to show like `["watch", "build"]`.

#### status_bar_format

Which format to use for [status_bar_tasks](https://github.com/NicoSantangelo/sublime-gulp#status_bar_tasks). You can use `{task_name}` to show the running task names.
Which format to use for [status_bar_tasks](https://github.com/nicosantangelo/sublime-gulp#status_bar_tasks). You can use `{task_name}` to show the running task names.


### Per project settings
Expand All @@ -391,7 +391,7 @@ The package will search first on `"settings": {}`, then on `"Gulp": {}` (ST3 onl

Keep in mind that the only *caveat* is that if you want to override the `syntax` key, you'll need to use `syntax_override` as key.

For a visual example go to [this comment on issue 53](https://github.com/NicoSantangelo/sublime-gulp/issues/53#issuecomment-153012155)
For a visual example go to [this comment on issue 53](https://github.com/nicosantangelo/sublime-gulp/issues/53#issuecomment-153012155)


## Shortcut Keys
Expand Down Expand Up @@ -447,6 +447,6 @@ _Note_: You can run commands like `gulp -v` if you set `task_name` to `""` (empt

##Acknowledgments

This package is a merge between [Gulp Snippets](https://github.com/filipelinhares/gulp-sublime-snippets) from [@filipelinhares](https://github.com/filipelinhares) and [Gulp](https://github.com/NicoSantangelo/sublime-gulp) from [NicoSantangelo](https://github.com/NicoSantangelo) (this last one, inspired by the awesome [sublime-grunt](https://github.com/tvooo/sublime-grunt)).
This package is a merge between [Gulp Snippets](https://github.com/filipelinhares/gulp-sublime-snippets) from [@filipelinhares](https://github.com/filipelinhares) and [Gulp](https://github.com/nicosantangelo/sublime-gulp) from [nicosantangelo](https://github.com/nicosantangelo) (this last one, inspired by the awesome [sublime-grunt](https://github.com/tvooo/sublime-grunt)).

Thanks to [@dkebler](https://github.com/dkebler) for re-writing the README.
4 changes: 2 additions & 2 deletions gulp.py
Expand Up @@ -193,7 +193,7 @@ def log_errors(self, text):
if not self.settings.get("log_errors", True):
return
log_path = os.path.join(self.working_dir, GulpCommand.log_file_name)
header = "Remember that you can report errors and get help in https://github.com/NicoSantangelo/sublime-gulp" if not os.path.isfile(log_path) else ""
header = "Remember that you can report errors and get help in https://github.com/nicosantangelo/sublime-gulp" if not os.path.isfile(log_path) else ""
timestamp = str(datetime.now().strftime("%m-%d-%Y %H:%M"))

with codecs.open(log_path, "a", "utf-8", errors='replace') as log_file:
Expand Down Expand Up @@ -335,7 +335,7 @@ def handle_thread(self, thread, progress):
def error_text_for(self, thread):
error_tuple = (
"The plugin repository seems to be down.",
"If http://gulpjs.com/plugins is working, please report this issue at the Sublime Gulp repo (https://github.com/NicoSantangelo/sublime-gulp).",
"If http://gulpjs.com/plugins is working, please report this issue at the Sublime Gulp repo (https://github.com/nicosantangelo/sublime-gulp).",
"Thanks!",
thread.error
)
Expand Down
2 changes: 1 addition & 1 deletion messages/v2.0.1.txt
Expand Up @@ -12,7 +12,7 @@ Recent Changes
==============

@filipelinhares' https://github.com/filipelinhares "Gulp Snippets" package has been combined with
@NicoSantangelo's https://github.com/NicoSantangelo "Gulp" package.
@nicosantangelo's https://github.com/nicosantangelo "Gulp" package.

Users of the Gulp Snippets package, all of the snippets still work with the same shortcuts.
Gulp adds new features like running Tasks.
2 changes: 1 addition & 1 deletion messages/v2.0.3.txt
Expand Up @@ -17,7 +17,7 @@ If you're having troubles using the plugin, now errors will be logged in sublime

Also, if you're running Mac OS, take a look at https://github.com/int3h/SublimeFixMacPath.

That is all, remember that you can report issues or feature requests at: https://github.com/NicoSantangelo/sublime-gulp
That is all, remember that you can report issues or feature requests at: https://github.com/nicosantangelo/sublime-gulp


Thanks!
2 changes: 1 addition & 1 deletion messages/v2.1.0.txt
Expand Up @@ -16,6 +16,6 @@ New command!, now you can list all gulp plugins from SublimeText.
Running 'Gulp: List plugins' from the command palette will display the gulp plugins on a searcheable list.
Picking one will open it on your default browser.

For issues or feature requests, head over to https://github.com/NicoSantangelo/sublime-gulp/issues
For issues or feature requests, head over to https://github.com/nicosantangelo/sublime-gulp/issues

That is all, thanks!
6 changes: 3 additions & 3 deletions messages/v3.0.0.txt
Expand Up @@ -10,9 +10,9 @@
Recent Changes
==============

Good news, you're now using the version 3.0.0 of the Gulp package!. A bunch of stuff changed if you have any troubles you can report it on github.com/NicoSantangelo/sublime-gulp/issues
Good news, you're now using the version 3.0.0 of the Gulp package!. A bunch of stuff changed if you have any troubles you can report it on github.com/nicosantangelo/sublime-gulp/issues

If you are in a hurry and something is not working, you can replace your Gulp package (Browse Packages -> Gulp folder) with v2.1.2 from github.com/NicoSantangelo/sublime-gulp/releases
If you are in a hurry and something is not working, you can replace your Gulp package (Browse Packages -> Gulp folder) with v2.1.2 from github.com/nicosantangelo/sublime-gulp/releases

New features/changes:

Expand All @@ -35,6 +35,6 @@ New features/changes:

That's all!, thanks a lot to @KevinBatdorf and @Sigmus for the suggestions and help.

For issues or feature requests, head over to https://github.com/NicoSantangelo/sublime-gulp/issues
For issues or feature requests, head over to https://github.com/nicosantangelo/sublime-gulp/issues

Thanks!
2 changes: 1 addition & 1 deletion messages/v3.2.0.txt
Expand Up @@ -16,6 +16,6 @@ Now the package reads from stdout and stderr without blocking, so now you should

The feature is enabled by default but you can disable it by adding `"nonblocking": false` to the Gulp User Settings.

I hope it helps, for any issue or feature request you can go to https://github.com/NicoSantangelo/sublime-gulp/issues
I hope it helps, for any issue or feature request you can go to https://github.com/nicosantangelo/sublime-gulp/issues

Thanks!
2 changes: 1 addition & 1 deletion messages/v4.0.0.txt
Expand Up @@ -16,6 +16,6 @@ The latest version of sublime-gulp now has experimental support for gulp4.0-alph

If you tried to list the tasks using gulp4.0, try removing the `.sublime-gulp.cache` file (you can use `Gulp: Delete cache`) and running `Gulp` again.

If you find any problem or you have a feature request please let me know at https://github.com/NicoSantangelo/sublime-gulp/issues
If you find any problem or you have a feature request please let me know at https://github.com/nicosantangelo/sublime-gulp/issues

Thanks a lot to @Smuliii for the heads up!
4 changes: 2 additions & 2 deletions messages/v4.1.0.txt
Expand Up @@ -14,10 +14,10 @@ Hello!

The latest version of sublime-gulp now has support for command flags (arguments)!

If you want to run a gulp task with a flag like `--watch` or even `--version` you can set it on the settings file or on a specific keybinding. For more info take a look at the README here: https://github.com/NicoSantangelo/sublime-gulp#settings
If you want to run a gulp task with a flag like `--watch` or even `--version` you can set it on the settings file or on a specific keybinding. For more info take a look at the README here: https://github.com/nicosantangelo/sublime-gulp#settings

If you're using flags right now and this implementation does not solve your particular workflow, let me know!

As always, if you find any problem or you have a feature request you can do so at https://github.com/NicoSantangelo/sublime-gulp/issues
As always, if you find any problem or you have a feature request you can do so at https://github.com/nicosantangelo/sublime-gulp/issues

Thanks a lot to @vitalybe and @cperryk for the feature request.
2 changes: 1 addition & 1 deletion messages/v4.4.1.txt
Expand Up @@ -23,6 +23,6 @@ You can select `Gulp: Exit editor killing running tasks` on the command palette

You can bind it to `alt+f4` or `super+q` so you don't have to remember it. Sadly it won't run if you close the editor using the close button and Sublime doesn't provide a callback for that.

If you find any problem or you have a feature request you can do so at https://github.com/NicoSantangelo/sublime-gulp/issues
If you find any problem or you have a feature request you can do so at https://github.com/nicosantangelo/sublime-gulp/issues

Thanks to @dirad for the idea.
4 changes: 2 additions & 2 deletions messages/v5.0.0.txt
Expand Up @@ -15,7 +15,7 @@ Hello!
Sublime gulp just got a bunch of new stuff!

1) You can now run any task without having to pick from your predefined gulpfile list. So you can add flags, or just run `gulp -v` if you want.
Give it a try selecting `Gulp: Run arbitrary task`, more info: https://github.com/NicoSantangelo/sublime-gulp/tree/release#available-commands
Give it a try selecting `Gulp: Run arbitrary task`, more info: https://github.com/nicosantangelo/sublime-gulp/tree/release#available-commands

2) The package now has support for babel using a `gulpfile.babel.js` file. Thanks @peduxe for the heads up!.

Expand All @@ -32,4 +32,4 @@ Thanks a lot to everyone who helped with this one, @dkebler, @cksachdev, @ISkomo

---

As always if you have any issues or feature requests go to https://github.com/NicoSantangelo/sublime-gulp/issues
As always if you have any issues or feature requests go to https://github.com/nicosantangelo/sublime-gulp/issues
2 changes: 1 addition & 1 deletion messages/v5.2.0.txt
Expand Up @@ -36,4 +36,4 @@ The package will search first on then on `"settings": {}`, `"Gulp": {}` (ST3 onl
Keep in mind that the only *caveat* is that if you want to override the `syntax` key, you'll need to use `syntax_override` as key.

That is all!
As always if you have any issues or feature requests go to https://github.com/NicoSantangelo/sublime-gulp/issues
As always if you have any issues or feature requests go to https://github.com/nicosantangelo/sublime-gulp/issues
4 changes: 2 additions & 2 deletions messages/v5.3.0.txt
Expand Up @@ -16,7 +16,7 @@ New feature!

Thanks to @rhaldkhein (https://github.com/rhaldkhein) you can now add a setting to run tasks when a file is saved.

To add a new trigger go to your settings (it works with project specific settings https://github.com/NicoSantangelo/sublime-gulp#per-project-settings) and add a key like this:
To add a new trigger go to your settings (it works with project specific settings https://github.com/nicosantangelo/sublime-gulp#per-project-settings) and add a key like this:

```
{
Expand All @@ -36,4 +36,4 @@ To add a new trigger go to your settings (it works with project specific setting
If you want to run the tasks in silent mode, you can use the key `silent_tasks_on_save`

That is all!
As always if you have any issues or feature requests go to https://github.com/NicoSantangelo/sublime-gulp/issues
As always if you have any issues or feature requests go to https://github.com/nicosantangelo/sublime-gulp/issues
2 changes: 1 addition & 1 deletion messages/v5.4.0.txt
Expand Up @@ -20,4 +20,4 @@ Useful if you want to re-run `watch` when saving certain files. It defaults to `


That is all!
As always if you have any issues or feature requests go to https://github.com/NicoSantangelo/sublime-gulp/issues
As always if you have any issues or feature requests go to https://github.com/nicosantangelo/sublime-gulp/issues
2 changes: 1 addition & 1 deletion messages/v5.5.0.txt
Expand Up @@ -19,7 +19,7 @@ The way `Gulp: Kill running tasks` works changed a bit.
The path to the `taskkill` executable (used to...well kill tasks) changed in this version to make it work in Windows 10.

If you were experiencing problems (not being able to kill tasks) it should be working now.
If you encounter any new problems, please let me know at https://github.com/NicoSantangelo/sublime-gulp/issues
If you encounter any new problems, please let me know at https://github.com/nicosantangelo/sublime-gulp/issues

Thanks a lot to @atnartur for finding and fixing the issue.

Expand Down
2 changes: 1 addition & 1 deletion messages/v6.0.0.txt
Expand Up @@ -33,6 +33,6 @@ In case you don't like this feature you can disable setting `track_processes` to
Thanks a lot to @kikandrew for kickstarting this.

That is all!
As always if you have any issues or feature requests go to https://github.com/NicoSantangelo/sublime-gulp/issues
As always if you have any issues or feature requests go to https://github.com/nicosantangelo/sublime-gulp/issues

Thanks!
4 changes: 2 additions & 2 deletions messages/v6.1.0.txt
Expand Up @@ -14,12 +14,12 @@ Hello!
Sublime gulp has a new setting, `recursive_gulpfile_search`, which makes the package look for a `gulpfile.js` on every project folder instead of checking only the top level.

If you found `gulpfile_paths` annoying to use, give it a try!
To read more about it head over to https://github.com/NicoSantangelo/sublime-gulp#recursive_gulpfile_search or check this package Default Settings.
To read more about it head over to https://github.com/nicosantangelo/sublime-gulp#recursive_gulpfile_search or check this package Default Settings.

----------------------------------------------

Thanks a lot to @PixelT for kickstarting this.

As always if you have any issues or feature requests go to https://github.com/NicoSantangelo/sublime-gulp/issues
As always if you have any issues or feature requests go to https://github.com/nicosantangelo/sublime-gulp/issues

That is all, thanks!
2 changes: 1 addition & 1 deletion messages/v6.1.3.txt
Expand Up @@ -18,6 +18,6 @@ New setting, `status_bar_tasks` and it's companion `status_bar_format` to show t

Thanks a lot to @mkormendy, @jacobraccuia and @DiegoAz for the help.

As always if you have any issues or feature requests go to https://github.com/NicoSantangelo/sublime-gulp/issues
As always if you have any issues or feature requests go to https://github.com/nicosantangelo/sublime-gulp/issues

That is all, thanks!

0 comments on commit 1e356f9

Please sign in to comment.