From 54f1fa7ff0c9d18aea3790555dba6e533ce3749b Mon Sep 17 00:00:00 2001 From: Michael Lyons Date: Sat, 30 Nov 2019 15:34:19 -0500 Subject: [PATCH] Rearrange some files Particularly in order to fix the syntax unit test file --- ...b.sublime-syntax => Crontab.sublime-syntax | 0 README.md | 12 +++-- ...bHighlightSample.tab => screenshot.crontab | 42 ------------------ CrontabHighlightSample.png => screenshot.png | Bin 4 files changed, 8 insertions(+), 46 deletions(-) rename crontab.sublime-syntax => Crontab.sublime-syntax (100%) rename CrontabHighlightSample.tab => screenshot.crontab (51%) rename CrontabHighlightSample.png => screenshot.png (100%) diff --git a/crontab.sublime-syntax b/Crontab.sublime-syntax similarity index 100% rename from crontab.sublime-syntax rename to Crontab.sublime-syntax diff --git a/README.md b/README.md index b85aea6..91c2d2f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Crontab for Sublime Text 3 -[![GitHub license](https://img.shields.io/github/license/michaelblyons/CrontabSublime.svg)](https://github.com/michaelblyons/CrontabSublime/blob/master/LICENSE) [![GitHub release](https://img.shields.io/github/release/michaelblyons/CrontabSublime.svg)](https://GitHub.com/michaelblyons/CrontabSublime/releases/) [![Package Control](https://packagecontrol.herokuapp.com/downloads/Crontab.svg?style=flat-square)](https://packagecontrol.io/packages/Crontab) +[![GitHub license](https://img.shields.io/github/license/michaelblyons/SublimeSyntax-Crontab.svg)](https://github.com/michaelblyons/SublimeSyntax-Crontab/blob/master/LICENSE) +[![GitHub release](https://img.shields.io/github/release/michaelblyons/SublimeSyntax-Crontab.svg)](https://GitHub.com/michaelblyons/SublimeSyntax-Crontab/releases/) +[![Package Control](https://packagecontrol.herokuapp.com/downloads/Crontab.svg?style=flat-square)](https://packagecontrol.io/packages/Crontab) ![Example screenshot][screenshot] @@ -28,12 +30,14 @@ ## Credits/Acknowledgements -1. [clarkewd][]'s original [Crontab Highlighting Package][clarkewd-cron] which was inherited from [kevinior][] and [WheresWardy][] -2. Adam Schubert and his [`cron_descriptor`][cron_descriptor] package. +1. [clarkewd][]'s original [Crontab Highlighting Package][clarkewd-cron] which was inherited from [kevinior][] and [WheresWardy][]. +2. [Varun Nayyar][nayyarv] and his adaptation of the package to `.sublime-syntax`. +3. Adam Schubert and his [`cron_descriptor`][cron_descriptor] package. -[screenshot]: CrontabHighlightSample.png +[screenshot]: screenshot.png [clarkewd]: https://github.com/clarkewd [clarkewd-cron]: https://github.com/clarkewd/SublimeCrontab [kevinior]: https://github.com/kevinior [whereswardy]: https://github.com/WheresWardy +[nayyarv]: https://github.com/nayyarv [cron_descriptor]: https://github.com/Salamek/cron-descriptor diff --git a/CrontabHighlightSample.tab b/screenshot.crontab similarity index 51% rename from CrontabHighlightSample.tab rename to screenshot.crontab index 2675e03..da6b101 100644 --- a/CrontabHighlightSample.tab +++ b/screenshot.crontab @@ -33,45 +33,3 @@ SHELL=/bin/sh 5 4 * * Sun echo "run at 5 after 4 every sunday" 0 20 * Jan,Jul 1-5 echo "weeknights at 8pm in January and July" - -* ,* * * * echo "initial comma" - -* *, * * * echo "hanging comma" - -* 4/,2 * * * echo "no step number" - -* ** * * * echo "only one asterisk allowed" - -* */2 * * * echo "asterisk can have steps" - -* */* * * * echo "step must be a number" - -5 4 * * -Sun echo "always end at newline" - -5 4 * * Su echo "not finished typing day-name" - -60 * * * * echo "Minute: bigger number than allowed" - -* 24 * * * echo "Hour: bigger number than allowed" - -* * 32 * * echo "Day of Month: bigger number than allowed" - -* * * 13 * echo "Month: bigger number than allowed" - -* * * 0 * echo "Month: smaller number than allowed" - -* * * * 8 echo "Day of Week: bigger number than allowed" - -59 * * * * echo "Minute: biggest number allowed" - -* 23 * * * echo "Hour: biggest number allowed" - -* * 31 * * echo "Day of Month: biggest number allowed" - -* * * 1 * echo "Month: smallest number allowed" - -* * * 12 * echo "Month: biggest number allowed" - -* * * * 7 echo "Day of Week: biggest number allowed" - diff --git a/CrontabHighlightSample.png b/screenshot.png similarity index 100% rename from CrontabHighlightSample.png rename to screenshot.png