Esri / calcite-bootstrap

A Calcite theme and a custom build system for building Bootstrap apps.
http://esri.github.io/calcite-bootstrap/
Apache License 2.0
48 stars 29 forks source link

Create Gulp or Grunt script to deploy the CSS and JS for Bootstrap to the S3 Patterns Uses #109

Closed CassidyB closed 9 years ago

CassidyB commented 9 years ago

--Should be in a folder called bootstrap/js and bootstrap/css etc . . . (not sure which, if any, folder the bootstrap folder should live in)

jhough10 commented 9 years ago

@CassidyB What is the timeline to have this completed? I will be out of the office after tomorrow until the August 17th.

jhough10 commented 9 years ago

convert GULP to GRUNT

jhough10 commented 9 years ago

Issue build multiple files in bootstrap core not working.

jhough10 commented 9 years ago

Got the basics for the localhost, watch, Sass, jshint, postcss (autoprefixer), and cssmin in place.

jhough10 commented 9 years ago

For the deployment to S3 I have added calcite-bootstrap into the same directory as calcite-web, so the pattern is files/calcite-bootstrap/{version #}.

Here is a file for reference: http://patterns.esri.com.s3.amazonaws.com/files/calcite-bootstrap/0.1.0/styles/calcite-bootstrap-dark.css

@TheBlueDog can you check to see if the file matches the build you have with gulp. I want to ensure that the construction is working properly based on the gulp tasks since I am basically mirroring them in Grunt now.

TheBlueDog commented 9 years ago

right now, the build should be identical to the calcite-bootstrap-defaul since the dark colors are not in place yet

jhough10 commented 9 years ago

Sounds good. I have the compile working for all the files right now light and dark, so we can verify when it comes to that.

jhough10 commented 9 years ago

@TheBlueDog @CassidyB which folders from the apps/ do we want to include on the S3? I have it including just the styles/ and scripts/ for now, but I assume that we might want more to be included up there such as the fonts/ and images/.

patterns_s3
TheBlueDog commented 9 years ago

I would say fonts, images, scripts and styles

TheBlueDog commented 9 years ago

fonts will contain our calcite icon-font soon. Scripts is also not used.. yet.

jhough10 commented 9 years ago

@TheBlueDog @CassidyB have the basics in place for everything we discussed.

I will be breaking out the tasks for deploy to gh pages, travis ci for deployment, and build report into a seperate issue since I think they will take longer to nail down properly. Plus I want to verify the build with grunt first to ensure that everything is smooth.

jhough10 commented 9 years ago

closing this issue since I moved the deployment to gh-pages and builds into a new task.