-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create distribution folder for generated assets (#281)
* Modify build script to write build artifacts to distribution directory - Deposit other client consumable assets in the distribution directory - See #280 * Remove unnecessary escape on file match * Add clean task * Simplify task structure * Fix Artifactory deployment path * Remove asset publishing directory from clean task * Add npm clean task * WebStorm configuration change to ignore distribution folder * Add test-results folder as a clean target
- Loading branch information
Showing
7 changed files
with
104 additions
and
25 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "@nasaworldwind/worldwind", | ||
"version": "0.0.1", | ||
"description": "Web WorldWind", | ||
"main": "worldwind.min.js", | ||
"main": "dist/worldwind.min.js", | ||
"homepage": "https://nasaworldwind.github.io/", | ||
"bugs": { | ||
"url": "https://github.com/NASAWorldWind/WebWorldWind/issues" | ||
|
@@ -13,31 +13,28 @@ | |
"NASA Project Manager <[email protected]>", | ||
"ESA Consortium Contact <[email protected]>" | ||
], | ||
"directories": { | ||
"lib": "./src", | ||
"doc": "./api-doc", | ||
"test": "./test", | ||
"example": "./examples" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/NASAWorldWind/WebWorldWind.git" | ||
}, | ||
"scripts": { | ||
"build": "grunt", | ||
"clean": "grunt clean", | ||
"test": "grunt karma", | ||
"doc": "grunt jsdoc", | ||
"test:watch": "karma start karma.conf.js" | ||
}, | ||
"files": [ | ||
"images/", | ||
"images.zip", | ||
"worldwind.js", | ||
"worldwind.min.js" | ||
"dist/images/", | ||
"dist/images.zip", | ||
"dist/worldwind.js", | ||
"dist/worldwind.min.js" | ||
], | ||
"devDependencies": { | ||
"grunt": "^1.0.1", | ||
"grunt-contrib-clean": "^1.1.0", | ||
"grunt-contrib-compress": "^1.4.3", | ||
"grunt-contrib-copy": "^1.0.0", | ||
"grunt-contrib-requirejs": "^1.0.0", | ||
"grunt-jsdoc": "^2.1.0", | ||
"grunt-karma": "^2.0.0", | ||
|
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,11 @@ | ||
/** | ||
* This shim is used to switch between the individual WorldWind source files and the minified single file library for | ||
* the WorldWind module. Switching allows locally developed examples to run from the individual WorldWind source files | ||
* and hosted examples to use the faster to download minified library. A shim is not required for the use of WorldWind. | ||
* The minified library (worldwind.min.js) is recommended for use in deployed applications. | ||
*/ | ||
define(['../worldwind.min.js'], function (WorldWind) { | ||
"use strict"; | ||
|
||
return WorldWind; | ||
}); |
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