- changed title to Improve Workflow
- changed component to gulp
Improve Workflow
Issue #4
resolved
- Add deployment tasks Dev, Stage, Production
- Add build tasks Debug, Release
Comments (5)
-
-
reporter @rafikhan What are the needs for every task described above? For instance, would the release task concat and uglify to the root only?
-
As of right now I think we should have the following:
gulp
orgulp debug
will do a debug build which will:- Stitch the scripts
- Copy to the proper location for local development/testing
gulp release
will do a release/dev build:- Stitch, remove debug code, uglify everything
- Copy to the proper location for local development/testing
- Package (i.e. zip) the script, a readme file and put it into something like a
./dist
directory.
Later, when we need to integrate a server (if ever) I see 3 other targets getting introduced:
gulp dev
which deploys a debug build to a dev server for local distribution.gulp stage
which deploys a release or debug build to a staging server for smoke testing prior to 'going live'.gulp prod
which deploys a release build to a prod server for release.
-
reporter - changed status to resolved
Done. Let's have a look at dev, stage and prod later!
-
- changed milestone to 1.0 Release
- Log in to comment