Commit Graph

72 Commits

Author SHA1 Message Date
Steven Zeck 235d9af6d5
Fix CI issues 2018-09-02 23:10:56 -05:00
Darron Park c6c8d190f6 Update docs & Attempt to fix build error 2018-03-20 01:43:22 +09:00
Darron Park 7cf6ba19de Remove blade from language spec 2018-03-19 15:34:07 +09:00
Darron Park 895d0178cb Basic Implement 2018-03-19 14:57:00 +09:00
Steven Zeck 6a58d30f07 Add React package to test file 2018-02-19 13:03:22 -06:00
Glavin Wiechert 0df338ed35 Switch from language-fuse to fuse Atom package 2017-10-07 14:22:29 -03:00
Austin Cheney 10c5e26771 update 2017-06-30 20:03:43 -05:00
Austin Cheney 46e02741c0 adjustments from Glavin's guidance 2017-06-30 19:41:11 -05:00
Glavin Wiechert 3745c27fe8 Improve command not found error message 2017-06-21 22:42:57 -03:00
Glavin Wiechert 75f63293d4 Fixes #1728. Remove Shell-Env from Executable, use Atom's process.env instead
Atom has builtin a fix for the process.env being out of sync with
the user's actual environment variables. It is similar to how Shell-Env works
which Atom-Beautify was using. Now we no longer need it.

However, there is still an issue when running specs. Thus, Atom-Beautify
specs still patch process.env with Shell-Env.
See https://discuss.atom.io/t/specs-do-not-load-shell-environment-variables-activationhooks-core-loaded-shell-environment/44199
for details.
2017-06-21 20:39:40 -03:00
Glavin Wiechert 0b2b06a928 Improve error handling of beautify and testing 2017-06-16 01:22:19 -03:00
Glavin Wiechert a5a00c893e Show disabled tests as skipped 2017-06-16 00:33:33 -03:00
Glavin Wiechert 2737a54604 Change test loggerLevel from verbose to info 2017-06-11 21:36:43 -03:00
Glavin Wiechert 3023fea297 Disable broken Windows tests 2017-06-11 16:45:44 -03:00
Glavin Wiechert 200f53ea38 Show verbose logs when testing 2017-06-11 15:37:22 -03:00
Glavin Wiechert 6a28106bd6 Disable ocaml, r, clojure languages for Windows tests 2017-06-11 14:52:35 -03:00
Glavin Wiechert 84361e4011 Fix logging during tests. Show info level logs. 2017-06-04 16:03:45 -03:00
Glavin Wiechert a92a48c6d6 Enable verbose logging for tests 2017-06-01 04:37:13 -03:00
Glavin Wiechert a9553fd51e Switch autopep8 to using Executables 2017-06-01 04:29:51 -03:00
Glavin Wiechert bc21afd424 Add Executable class to abstract CLI beautifiers 2017-05-28 18:21:10 -03:00
Dan Vingo 9ed56bd351 Add Clojure support using cljfmt 2016-09-03 21:26:54 -04:00
Aidi Stan 86f83c80aa Fix AppVeyor CI 2016-08-16 14:05:06 +08:00
Joost van Doorn 7096ceb195 Lua beautifier
Simple perl script beautifier for lua, by @pkulchenko
2016-06-07 20:17:34 +02:00
Glavin Wiechert 4cdb738d28 See #898. Add more tests for migrate settings helper 2016-04-07 11:35:15 -03:00
Glavin Wiechert 5b3e28b250 See #875. Add test for looking upwards .jsbeautifyrc files 2016-04-01 18:59:07 -03:00
Glavin Wiechert afa27fd50b See #864. Add Migration command from old option keys to new keys
Old:
    { LANG_OPTION: 'VALUE' }
New:
    { LANG: { OPTION: 'VALUE' }}
2016-04-01 16:57:30 -03:00
Glavin Wiechert 400f019576 See #713. Add tests for extracting configuration from package settings 2016-03-30 01:28:48 -03:00
Glavin Wiechert 43a3647e31 Disable language tests on examples 2016-03-30 01:26:55 -03:00
Glavin Wiechert bd6e735f08 See #839, #844. Add test for unique language namespaces
Removed check in Beautifiers#buildOptionsForBeautifiers
2016-03-03 20:06:23 -04:00
Glavin Wiechert 5fe5f3603f See #817. Remove MavensMate package 2016-02-21 17:23:23 -04:00
Glavin Wiechert 33ae978204 See #817. Install MavensMate package for Apex testing 2016-02-21 16:46:27 -04:00
Glavin Wiechert 34a3297858 Merge branch 'master' of git://github.com/jdcrensh/atom-beautify into jdcrensh-master 2016-02-20 15:32:57 -04:00
Glavin Wiechert 2b6b026cc6 Merge pull request #733 from LaurentTreguier/master
Adding dfmt support for D
2016-02-20 15:24:54 -04:00
Jon Crenshaw 718184554a Add Apex language support
Include support for Salesforce's Java-like "Apex" language
2016-02-17 21:54:08 -08:00
Glavin Wiechert 99299e5d30 Fixes #736. Change unformatted option default value to match js-beautify 2016-01-12 14:27:30 -04:00
LaurentTreguier e4f97f70b9 Update beautify-languages-spec.coffee 2016-01-07 13:22:24 +01:00
Glavin Wiechert 50bb7d737e Remove Atom package language-tss dependency for testing 2015-11-02 13:59:57 -04:00
Sebastian Schlatow a58ebf889d Add SVG support 2015-07-07 00:08:09 +02:00
Glavin Wiechert 2dbf680d76 Increase timeout duration to 60 seconds for language beautification tests 2015-06-14 11:36:42 -03:00
Glavin Wiechert 590dbc805e See #390. Use global php-cs-fixer on Windows without running within php
By using [node-which](https://github.com/isaacs/node-which)
I believe I am able to get rid of the `php` command running
`php-cs-fixer` as an argument.
`which` will find the `php-cs-fixer` program by looking through
the `PATH` environment variable listed directories.
This will resolve `php-cs-fixer` to an absolute path to the executable
and that will be used to run the command.
This dramatically cleans up the `PHP-CS-Fixer beautifier` code and specs, too!

Doing some Windows tests now.
2015-06-12 01:22:14 -03:00
Glavin Wiechert 5094d76930 Fix typo in beautify-languages-spec, calling text.replace when not string 2015-06-11 23:50:24 -03:00
Glavin Wiechert 0df387dac3 Beautify all spec/ files to pass linting with Coffeelint 2015-06-11 23:10:00 -03:00
Glavin Wiechert 6b7b3d6401 Fix failing PHP-CS-Fixer Beautifier specs, disable some on Windows 2015-06-11 22:07:56 -03:00
Glavin Wiechert b0d8dfa6fb Format all internal CoffeeScript code to indent_size=2
- Using Atom Beautify's Beautify Directory feature
- Using coffee-fmt
  - Only has one bug: https://github.com/sterpe/coffee-fmt/issues/16
2015-06-11 21:59:00 -03:00
Glavin Wiechert 7c9281e4b4 Fix PHP-CS-Fixer beautifier specs for missing php/php-cs-fixer 2015-06-11 21:16:05 -03:00
Glavin Wiechert 8ff76bc41d Fix typo in php-cs-fixer spec, mocking env should be object 2015-06-11 18:51:36 -03:00
Glavin Wiechert 2663b41505 See #394. Improve error message when program cannot be found 2015-06-11 17:37:23 -03:00
Glavin Wiechert 68070d5b4b Fix showing of options when a test fails when running specs 2015-06-10 17:30:44 -03:00
Glavin Wiechert 01d7f2f9bb Show options when a test fails when running specs 2015-06-10 17:02:22 -03:00
Glavin Wiechert 9afde9bfd1 Clean up logging, remove atom-typescript from specs 2015-06-10 16:45:34 -03:00