With the new design, we take the load off of deck.rb and simply delegate methods over to the new conf.rb. This means that things like `antialias` is now available as a method to the normal Squib scripts for easy checking (without being mutable). Squib::Conf also handles parsing and defaults, and any potential input validation we need to do in the future. Typographer is also set up now as a deck-wide configuration. This may change in the future if we want typography customization per-command, although that seems like a strange use case. Lots of tests for this one, and lots of cross-cutting concerns in this commit. This commit also includes some tweaks to rspec tests, including tagging of slow tests for a `rake spec_fastonly` Conflicts: spec/samples/samples_regression_spec.rb spec/spec_helper.rb squib.sublime-project
89 lines
2.1 KiB
Plaintext
89 lines
2.1 KiB
Plaintext
{
|
|
"folders":
|
|
[
|
|
{
|
|
"follow_symlinks": true,
|
|
"path": "."
|
|
}
|
|
],
|
|
"build_systems":
|
|
[
|
|
{
|
|
"name": "rake",
|
|
"shell_cmd": "rake",
|
|
},
|
|
{
|
|
"name": "rake sanity",
|
|
"shell_cmd": "rake sanity",
|
|
},
|
|
{
|
|
"name": "rake spec_fastonly",
|
|
"shell_cmd": "rake spec_fastonly",
|
|
},
|
|
{
|
|
"name": "rake run[text_options]",
|
|
"shell_cmd": "rake run[text_options]",
|
|
},
|
|
{
|
|
"name": "rake run[embed_text]",
|
|
"shell_cmd": "rake run[embed_text]",
|
|
},
|
|
{
|
|
"name": "rake run[draw_shapes]",
|
|
"shell_cmd": "rake run[draw_shapes]",
|
|
},
|
|
{
|
|
"name": "rake run[config_text_markup]",
|
|
"shell_cmd": "rake run[config_text_markup]",
|
|
},
|
|
{
|
|
"name": "rake run[custom_config]",
|
|
"shell_cmd": "rake run[custom_config]",
|
|
},
|
|
{
|
|
"name": "rspec spec/samples/samples_regression_spec.rb",
|
|
"shell_cmd": "rspec spec/samples/samples_regression_spec.rb",
|
|
"working_dir": "${project_path:${folder}}"
|
|
},
|
|
{
|
|
"name": "rspec spec/args/typographer_spec.rb",
|
|
"shell_cmd": "rspec spec/args/typographer_spec.rb",
|
|
"working_dir": "${project_path:${folder}}"
|
|
},
|
|
{
|
|
"name": "rspec spec/graphics/graphics_text_spec.rb",
|
|
"shell_cmd": "rspec spec/graphics/graphics_text_spec.rb",
|
|
"working_dir": "${project_path:${folder}}"
|
|
},
|
|
{
|
|
"working_dir": "${project_path:${folder}}"
|
|
},
|
|
{
|
|
"name": "rspec spec/graphics/graphics_shapes_spec.rb",
|
|
"shell_cmd": "rspec spec/graphics/graphics_shapes_spec.rb",
|
|
"working_dir": "${project_path:${folder}}"
|
|
},
|
|
{
|
|
"name": "rspec spec/conf_spec.rb",
|
|
"shell_cmd": "rspec spec/conf_spec.rb",
|
|
"working_dir": "${project_path:${folder}}"
|
|
},
|
|
{
|
|
"name": "rspec spec/graphics/graphics_images_spec.rb",
|
|
"shell_cmd": "rspec spec/graphics/graphics_images_spec.rb",
|
|
"working_dir": "${project_path:${folder}}"
|
|
},
|
|
{
|
|
"name": "rspec spec/graphics/graphics_shapes_spec.rb",
|
|
"shell_cmd": "rspec spec/graphics/graphics_shapes_spec.rb",
|
|
"working_dir": "${project_path:${folder}}"
|
|
},
|
|
{
|
|
"name": "rspec spec/conf_spec.rb",
|
|
"shell_cmd": "rspec spec/conf_spec.rb",
|
|
|
|
},
|
|
]
|
|
|
|
}
|