mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-20 00:16:55 +02:00
79 lines
1.4 KiB
YAML
79 lines
1.4 KiB
YAML
# src_files
|
|
#
|
|
# Return an array of filepaths relative to src_dir to include before jasmine specs.
|
|
# Default: []
|
|
#
|
|
# EXAMPLE:
|
|
#
|
|
# src_files:
|
|
# - lib/source1.js
|
|
# - lib/source2.js
|
|
# - dist/**/*.js
|
|
#
|
|
src_files:
|
|
- frameworks/jquery.js
|
|
- examples/jquery/public/javascripts/**/*.js
|
|
|
|
# stylesheets
|
|
#
|
|
# Return an array of stylesheet filepaths relative to src_dir to include before jasmine specs.
|
|
# Default: []
|
|
#
|
|
# EXAMPLE:
|
|
#
|
|
# stylesheets:
|
|
# - css/style.css
|
|
# - stylesheets/*.css
|
|
#
|
|
stylesheets:
|
|
|
|
# helpers
|
|
#
|
|
# Return an array of filepaths relative to spec_dir to include before jasmine specs.
|
|
# Default: ["helpers/**/*.js"]
|
|
#
|
|
# EXAMPLE:
|
|
#
|
|
# helpers:
|
|
# - helpers/**/*.js
|
|
#
|
|
helpers:
|
|
- lib/spec-helper.js
|
|
- examples/jquery/spec/javascripts/helpers/**/*.js
|
|
|
|
# spec_files
|
|
#
|
|
# Return an array of filepaths relative to spec_dir to include.
|
|
# Default: ["**/*[sS]pec.js"]
|
|
#
|
|
# EXAMPLE:
|
|
#
|
|
# spec_files:
|
|
# - **/*[sS]pec.js
|
|
#
|
|
spec_files:
|
|
- lib/mock-ajax.js
|
|
- examples/jquery/spec/javascripts/*.js
|
|
|
|
# src_dir
|
|
#
|
|
# Source directory path. Your src_files must be returned relative to this path. Will use root if left blank.
|
|
# Default: project root
|
|
#
|
|
# EXAMPLE:
|
|
#
|
|
# src_dir: public
|
|
#
|
|
src_dir: ../..
|
|
|
|
# spec_dir
|
|
#
|
|
# Spec directory path. Your spec_files must be returned relative to this path.
|
|
# Default: spec/javascripts
|
|
#
|
|
# EXAMPLE:
|
|
#
|
|
# spec_dir: spec/javascripts
|
|
#
|
|
spec_dir: ../..
|