stackviz/gulp/tasks
Ian Wienand 02dc3ab7f5
Have stackviz output a usable python sdist
It seems that on a CI node, we just want to have approximately "pip
install stackviz" and have it "just work".

This makes "npm run prod" produce a .tar.gz appropriate for this.

Firstly, I have moved the gulp output to "gulp-build" rather than
"build" because "build" is generic and can get distutils confused.

Second, after building with gulp, we tack on a "setup.py sdist" call
to generate the final package.

Thirdly, the MANIFEST.in is updated to prune out unneeded files from
the final distribution.  pbr is putting everything in git into the
manifest, but we can trim all all the nodejs source stuff.  The
generated files in gulp-build are added to the manifest (since they're
generated, and not in git).

Finally, these are added via data-files as "share/stackviz-html".  This
is essentially standalone and can be moved, or symlinked to as required.

The end result is that the .tar.gz created is installable on nodes an
contains everything required to run stackviz.

Documentation is updated.

Change-Id: I64cbc7e90bd2610733c9d5c6275cce99f2571883
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-05-31 09:14:10 -04:00
..
browserify.js Use Chrome for unit tests and update dependencies 2016-03-22 17:59:55 -06:00
browserSync.js Add initial Angular boilerplate files. 2015-09-25 16:26:44 -06:00
clean.js Use Chrome for unit tests and update dependencies 2016-03-22 17:59:55 -06:00
cleanMaps.js Disable gzip and source maps for production builds 2016-05-13 18:40:17 -06:00
data.js Add data gulp task. 2015-09-28 11:50:07 -06:00
deploy.js Add initial Angular boilerplate files. 2015-09-25 16:26:44 -06:00
development.js Fix possible race condition in build script 2016-05-02 12:47:34 -06:00
fonts.js Add initial Angular boilerplate files. 2015-09-25 16:26:44 -06:00
gzip.js Use gulp-replace to rewrite JS and CSS paths during gzip task. 2015-09-25 17:55:33 -06:00
production.js Disable gzip and source maps for production builds 2016-05-13 18:40:17 -06:00
protractor.js Add initial Angular boilerplate files. 2015-09-25 16:26:44 -06:00
server.js Have stackviz output a usable python sdist 2017-05-31 09:14:10 -04:00
styles.js Add initial Angular boilerplate files. 2015-09-25 16:26:44 -06:00
test.js Add initial Angular boilerplate files. 2015-09-25 16:26:44 -06:00
unit.js Use Chrome for unit tests and update dependencies 2016-03-22 17:59:55 -06:00
views.js Add initial Angular boilerplate files. 2015-09-25 16:26:44 -06:00
watch.js Removed unused node dependencies. 2015-11-24 13:48:47 -07:00