-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Merge pull request #876 from ThrowTheSwitch/test/0_32/merge_proj_file…
…_changes_and_rc Test/0 32/merge proj file changes and rc
- Loading branch information
Showing
67 changed files
with
3,283 additions
and
1,765 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
require 'thor' | ||
require 'fileutils' | ||
|
||
# Wrapper for handy Thor Actions | ||
class ActionsWrapper | ||
include Thor::Base | ||
include Thor::Actions | ||
|
||
source_root( CEEDLING_ROOT ) | ||
|
||
def _directory(src, *args) | ||
directory( src, *args ) | ||
end | ||
|
||
def _copy_file(src, *args) | ||
copy_file( src, *args ) | ||
end | ||
|
||
def _touch_file(src) | ||
FileUtils.touch(src) | ||
end | ||
|
||
def _chmod(src, mode, *args) | ||
chmod( src, mode, *args ) | ||
end | ||
|
||
def _empty_directory(dest, *args) | ||
empty_directory( dest, *args ) | ||
end | ||
|
||
def _gsub_file(path, flag, *args, &block) | ||
gsub_file( path, flag, *args, &block ) | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
# Create our global application configuration option set | ||
# This approach bridges clean Ruby and Rake | ||
def get_app_cfg() | ||
app_cfg = { | ||
# Blank initial value for completeness | ||
:project_config => {}, | ||
|
||
# Default, blank value | ||
:log_filepath => '', | ||
|
||
# Only specified in project config (no command line or environment variable) | ||
:default_tasks => ['test:all'], | ||
|
||
# Basic check from working directory | ||
# If vendor/ceedling exists, default to running vendored Ceedling | ||
:which_ceedling => (Dir.exist?( 'vendor/ceedling' ) ? 'vendor/ceedling' : 'gem'), | ||
|
||
# Default, blank test case filters | ||
:include_test_case => '', | ||
:exclude_test_case => '', | ||
|
||
# Default to no duration logging for setup & build ops in Rake context | ||
:stopwatch => false, | ||
|
||
# Default to `exit(1)` upon failing test cases | ||
:tests_graceful_fail => false, | ||
} | ||
|
||
return app_cfg | ||
end |
Oops, something went wrong.