github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2012-09-22 12:49 am

[dreamwidth/dw-free] b8f7f7: (Bug 4624) Copy CSS, JS, image files to build/stat...

Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: b8f7f764c114e55ba4289ae71a2fbe2b7b366b54
https://github.com/dreamwidth/dw-free/commit/b8f7f764c114e55ba4289ae71a2fbe2b7b366b54
Author: Afuna <fu@dreamwidth.org>
Date: 2012-09-11 (Tue, 11 Sep 2012)

Changed paths:
M .gitignore
A bin/build-static.sh

Log Message:
-----------
(Bug 4624) Copy CSS, JS, image files to build/static

- uses rsync, which does the hard work of checking for modified/deleted
files for us
- add build/static to .gitignore, so that we don't accidentally commit
anything in this folder
- build/static is only for generated files and shouldn't be touched (we
don't care about things going the other way)


Commit: b7043a752d76424354206021e648e37a32e166c5
https://github.com/dreamwidth/dw-free/commit/b7043a752d76424354206021e648e37a32e166c5
Author: Afuna <fu@dreamwidth.org>
Date: 2012-09-11 (Tue, 11 Sep 2012)

Changed paths:
M bin/build-static.sh

Log Message:
-----------
(Bug 4624) Remove redundant semi-colons


Commit: 545b0f44197b79b9515be8a90d18afb55497a636
https://github.com/dreamwidth/dw-free/commit/545b0f44197b79b9515be8a90d18afb55497a636
Author: Afuna <fu@dreamwidth.org>
Date: 2012-09-12 (Wed, 12 Sep 2012)

Changed paths:
M bin/build-static.sh

Log Message:
-----------
(Bug 4624) Add an intermediate minification step

- uses yuicompressor (not included in repository; assumed to be in
ext/yuicompressor/yuicompressor.jar)
- files are copied first to one folder (so that rsync has a clean copy
to compare modification / modtime against)
- only minifies files that have been modified, so that we don't
invalidate browser cache


Commit: 93cdadb93cc73281a29636424373c1ae7617cbd2
https://github.com/dreamwidth/dw-free/commit/93cdadb93cc73281a29636424373c1ae7617cbd2
Author: Afuna <fu@dreamwidth.org>
Date: 2012-09-12 (Wed, 12 Sep 2012)

Changed paths:
M bin/build-static.sh

Log Message:
-----------
(Bug 4624) If we're not trying to minify it, just copy it over


Commit: 9651809e239ad27fae587c9ba43b9c383c81e92e
https://github.com/dreamwidth/dw-free/commit/9651809e239ad27fae587c9ba43b9c383c81e92e
Author: Afuna <fu@dreamwidth.org>
Date: 2012-09-12 (Wed, 12 Sep 2012)

Changed paths:
M bin/build-static.sh

Log Message:
-----------
(Bug 4624) Only try copy over files (not directories)

The directories will be created later if they contain files we're
copying/minifying.

Includes some refactoring of now-common code.


Commit: 71a235cd9692bb9bacaf5d53af7327f9d4996b5a
https://github.com/dreamwidth/dw-free/commit/71a235cd9692bb9bacaf5d53af7327f9d4996b5a
Author: Afuna <fu@dreamwidth.org>
Date: 2012-09-12 (Wed, 12 Sep 2012)

Changed paths:
M htdocs/js/entry.js
M htdocs/js/subfilters.js
M htdocs/js/tests/sinon.js
M htdocs/stc/fck/editor/plugins/placeholder/lang/pl.js

Log Message:
-----------
(Bug 4624) Fix ambiguous things that yuicompressor chokes on

- don't use "public" unquoted. Reserved word
- don't use "throws" unquoted. Reserved word
- close an unterminated string


Commit: d78fd17070713864de5adc88878a334ed1e4cdee
https://github.com/dreamwidth/dw-free/commit/d78fd17070713864de5adc88878a334ed1e4cdee
Author: Afuna <fu@dreamwidth.org>
Date: 2012-09-12 (Wed, 12 Sep 2012)

Changed paths:
M bin/build-static.sh

Log Message:
-----------
(Bug 4624) Handle deletion of compressed files

We had to copy these over manually; we also have to delete them
manually.


Commit: 4ed43e56614f6b13a8784a8eb574d35099464f82
https://github.com/dreamwidth/dw-free/commit/4ed43e56614f6b13a8784a8eb574d35099464f82
Author: Afuna <fu@dreamwidth.org>
Date: 2012-09-12 (Wed, 12 Sep 2012)

Changed paths:
M bin/build-static.sh

Log Message:
-----------
(Bug 4624) Double-check JS/CSS files have been copied over

If minifying fails, then we don't have a file to serve up -- so let's
print a list of files that are in /max but not in the main js/stc
folders at the end of the build process.

(Easy to miss if in the middle, if a lot of files were processed)


Commit: 1439ada93c6ed71236133682d10c4f9faf587142
https://github.com/dreamwidth/dw-free/commit/1439ada93c6ed71236133682d10c4f9faf587142
Author: Afuna <fu@dreamwidth.org>
Date: 2012-09-13 (Thu, 13 Sep 2012)

Changed paths:
M bin/build-static.sh

Log Message:
-----------
(Bug 4624) Remove "htdocs" from the build destination


Commit: c0e296ce3b86e3fd52d4421dfbbcb46bdb6a4903
https://github.com/dreamwidth/dw-free/commit/c0e296ce3b86e3fd52d4421dfbbcb46bdb6a4903
Author: Afuna <afunamatata+github@gmail.com>
Date: 2012-09-22 (Sat, 22 Sep 2012)

Changed paths:
M .gitignore
A bin/build-static.sh
M htdocs/js/entry.js
M htdocs/js/subfilters.js
M htdocs/js/tests/sinon.js
M htdocs/stc/fck/editor/plugins/placeholder/lang/pl.js

Log Message:
-----------
Merge pull request #75 from afuna/build-stc-bug4624

(Bug 4624) Copy CSS, JS, image files to build/static


Compare: https://github.com/dreamwidth/dw-free/compare/bc63e1bb0fda...c0e296ce3b86