Pete Richards
d7ddb96c4e
[API] UMD Packaging ( #1078 )
...
* [Bundle] load filter with requirejs
* [Build] Use almond, wrap in UMD
Use almond for built version of application and wrap in UMD so that
it supports requirejs, commonjs, and basic browser loading.
* [Main] Can choose where to load app
MCT.run allows you to specify a dom element to load application
within. If element is not specified, will use body.
* [MCT] set class on injected div
Set class on injected div so extra markup is not required.
* [Build] Re-enable optimize
* Add minimal bootstrap example
2016-07-07 14:25:23 -07:00
Victor Woeltjen
031a46aa8e
[Code Style] Add JSHint rules
...
Add JSHint rules to complement allowing multiple var statements,
https://github.com/nasa/openmct/issues/142#issuecomment-212187972
[Code Style] Require one decl per var
[Code Style] Don't require separate var decls
...but allow them (for compatibility with existing code style)
[Code Style] Allow var decl after start of scope
[Code Style] Enforce codestyle during verify task
2016-05-12 16:32:17 -07:00
Pete Richards
f3b265bdd5
Merge branch 'master' into open671
2016-05-09 10:19:24 -07:00
Victor Woeltjen
1d78af8f1d
[Build] Fix build on Windows
...
* In the prepublish step, run bower and gulp via node, instead of
relying on shebang interpretation. (Forward-slash path separators
appear to get normalized by node itself before executing the scripts.)
* In the gulp build, replace hard-coded *nix-style separators with
path.sep; this allows stylesheets to be output to expected locations
when building on Windows.
Addresses #827 .
2016-04-12 13:02:48 -07:00
Victor Woeltjen
a224711dce
[Build] Move JSHint config to .jshintrc
...
...to allow code editors etc to pick up on rules, per
https://github.com/nasa/openmct/pull/724#issuecomment-193542314
2016-04-08 16:37:37 -07:00
Victor Woeltjen
c1ae68b565
[Build] Change unused to vars
...
To allow placeholder arguments in method signatures, per
https://github.com/nasa/openmct/pull/724#issuecomment-193542314
2016-04-08 16:32:17 -07:00
Victor Woeltjen
5e44bfc6c7
Merge branch 'master' into open671
...
Conflicts:
main.js
platform/commonUI/edit/src/policies/EditableMovePolicy.js
platform/commonUI/general/src/directives/MCTTree.js
platform/commonUI/general/src/ui/ToggleView.js
platform/core/src/actions/ActionCapability.js
platform/core/test/models/CachingModelDecoratorSpec.js
platform/core/test/services/InstantiateSpec.js
platform/features/events/bundle.js
platform/features/events/src/DomainColumn.js
platform/features/events/src/EventListController.js
platform/features/events/src/EventListPopulator.js
platform/features/events/src/RangeColumn.js
platform/features/events/src/directives/MCTDataTable.js
platform/features/events/src/policies/MessagesViewPolicy.js
platform/features/events/test/DomainColumnSpec.js
platform/features/events/test/EventListControllerSpec.js
platform/features/events/test/EventListPopulatorSpec.js
platform/features/events/test/RangeColumnSpec.js
platform/features/events/test/policies/MessagesViewPolicySpec.js
platform/features/rtevents/bundle.js
platform/features/rtevents/src/DomainColumn.js
platform/features/rtevents/src/RTEventListController.js
platform/features/rtevents/src/RangeColumn.js
platform/features/rtevents/src/directives/MCTRTDataTable.js
platform/features/rtevents/src/policies/RTMessagesViewPolicy.js
platform/features/rtevents/test/DomainColumnSpec.js
platform/features/rtevents/test/RTEventListControllerSpec.js
platform/features/rtevents/test/RangeColumnSpec.js
platform/features/rtevents/test/policies/RTMessagesViewPolicySpec.js
platform/features/rtscrolling/bundle.js
platform/features/rtscrolling/src/DomainColumn.js
platform/features/rtscrolling/src/NameColumn.js
platform/features/rtscrolling/src/RTScrollingListController.js
platform/features/rtscrolling/src/RangeColumn.js
platform/features/scrolling/src/DomainColumn.js
platform/features/scrolling/src/RangeColumn.js
platform/features/scrolling/src/ScrollingListController.js
platform/features/scrolling/src/ScrollingListPopulator.js
platform/features/scrolling/test/DomainColumnSpec.js
platform/features/scrolling/test/RangeColumnSpec.js
platform/features/scrolling/test/ScrollingListControllerSpec.js
platform/features/scrolling/test/ScrollingListPopulatorSpec.js
platform/features/table/src/directives/MCTTable.js
platform/features/table/test/controllers/TelemetryTableControllerSpec.js
platform/representation/src/gestures/DropGesture.js
platform/telemetry/src/TelemetryFormatter.js
test-main.js
2016-04-08 16:08:19 -07:00
Charles Hacskaylo
318df9878d
[Frontend] Cleanups to Inspector config elements
...
open #729
In-progress!
Markup and CSS modified to cleanup control layout
and styling in Plot and Table config options;
gulpfile.js modified to include SASS source line numbers
in rendered CSS;
2016-03-09 17:22:41 -08:00
Victor Woeltjen
fb56b3ad56
[Build] Enable forin check for JSHint
2016-03-04 13:04:06 -08:00
Victor Woeltjen
7eb7027b67
[Build] Specify browser environment
...
...such that various browser globals do not need to be individually
declared.
2016-03-04 12:05:00 -08:00
Victor Woeltjen
c7f199a59e
[Build] Also lint specs
...
...with additional tolerance declared for Jasmine variables.
2016-03-04 12:01:11 -08:00
Victor Woeltjen
43176cfbb8
[Build] Move lint config to gulpfile
2016-03-04 11:56:31 -08:00
Victor Woeltjen
1cdbc11894
[Build] Clarify spec paths
2016-03-04 11:52:46 -08:00
Victor Woeltjen
377786caf9
[Build] Fix lint exclusions
2016-03-04 10:36:28 -08:00
Victor Woeltjen
f092bfe653
[Build] Don't lint specs
2016-03-04 10:27:34 -08:00
Pete Richards
51fbbfe601
[Gulp] Revert accidental change
2016-02-22 19:07:36 -08:00
Pete Richards
eaab70741a
[Build] Generate CSS sourcemaps
...
Generate CSS sourcemaps to aide in debugging.
https://github.com/nasa/openmctweb/issues/698
2016-02-22 18:57:05 -08:00
Pete Richards
a05d6d8ee8
[Build] Rebuild scss when starting server
...
Rebuild scss when starting the development server.
https://github.com/nasa/openmctweb/issues/698
2016-02-22 18:30:07 -08:00
Pete Richards
88945c48d4
[Build] Gracefully handle sass error
...
https://github.com/nasa/openmctweb/issues/698
2016-02-22 18:29:26 -08:00
Pete Richards
bd7ad85bd7
[Build] Remove unused dependency
...
https://github.com/nasa/openmctweb/issues/698
2016-02-22 18:28:45 -08:00
Pete Richards
0a71835687
[Build] Switch compass to bourbon
...
Change mixin library to bourbon. Significantly reduces sass build time.
https://github.com/nasa/openmctweb/issues/698
2016-02-22 18:02:16 -08:00
Pete Richards
db1a7e37e8
[Build] Gracefully handle scss errors
...
Log errors in SCSS processing but don't crash watch process.
Fixes https://github.com/nasa/openmctweb/issues/696
2016-02-22 15:29:00 -08:00
Pete Richards
34b0b55b97
[Build] reinstantiate compass per task execution
...
Reinstantiate compass wrapper for each task execution. Allows stylesheets
task to be run multiple times by watch. Fixes a bug that prevents watch
from working properly.
2016-02-22 12:45:41 -08:00
Pete Richards
5f81e95c87
[Build] Add Gemfile, use bundle exec
...
Add a Gemfile to specify ruby dependencies and update gulp-compass to use
bundle exec to execute compass.
Addresses comments in https://github.com/nasa/openmctweb/pull/693
2016-02-22 10:37:30 -08:00
Pete Richards
ed09214f59
[Build] Save stylesheets to proper location
...
Updates the stylesheet task to output CSS in the correct locations. Remove
config.rb for running compass manually, and remove compiled css files from
project. Add a .gitignore to ensure they don't get included accidentally.
Add a gulp task for running the development server and watching for scss
changes at the same time.
resolves https://github.com/nasa/openmctweb/issues/238
2016-02-19 13:26:20 -08:00
Victor Woeltjen
9b524af3ce
[Build] Allow build outside of git repo
2016-01-29 16:52:13 -08:00
Victor Woeltjen
924a4026ff
[Build] Trigger gulp from prepublish
2016-01-29 11:54:18 -08:00
Victor Woeltjen
baf32dd62f
[Build] Add verify task
2016-01-29 10:15:34 -08:00
Victor Woeltjen
df94d31cf3
[Build] Generate build info for About dialog
2016-01-28 17:16:44 -08:00
Victor Woeltjen
c3f819fa8c
[Build] Begin adding build info
2016-01-28 17:08:02 -08:00
Victor Woeltjen
5b0ee8588c
[Build] Respect shim config when optimizing
2016-01-28 15:23:37 -08:00
Victor Woeltjen
fcfb3eebda
[Build] Include all static assets
2016-01-28 15:23:17 -08:00
Victor Woeltjen
84e1e87ce3
[Build] Copy run-time resources into dist
2016-01-28 15:06:07 -08:00
Victor Woeltjen
41cfd050a2
[Build] Change task name for code style check
2016-01-28 14:54:30 -08:00
Victor Woeltjen
d67ffa8401
[Build] Add fixstyle step
2016-01-28 14:39:14 -08:00
Victor Woeltjen
fd2f4128a0
[Build] Add code style checks
2016-01-28 14:33:57 -08:00
Victor Woeltjen
814fb3b513
[Build] Add lint step
2016-01-28 13:44:18 -08:00
Victor Woeltjen
fc7bd36dba
[Build] Begin integrating compass
...
Convert SCSS to CSS as a build step.
2016-01-28 10:36:01 -08:00
Victor Woeltjen
97c69799b4
[Build] Use spaces instead of tabs
2016-01-27 14:30:40 -08:00
Victor Woeltjen
406fdd5efc
[Build] Run karma tests from gulp
2016-01-27 14:30:07 -08:00
Victor Woeltjen
f334be8f23
[Build] Externalize source maps
2016-01-27 14:01:09 -08:00
Victor Woeltjen
e1b7f2af30
[Build] Add initial gulp task
...
Add initial gulp task (r.js optimization)
2016-01-27 13:23:17 -08:00