Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(308)

Issue 34470043: Changed the directory structure of the project. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by pajamallama
Modified:
10 years, 5 months ago
Reviewers:
calamity, Matt Giuca
CC:
jackhou
Base URL:
https://github.com/jackhou-chromium/bitmapper@master
Visibility:
Public.

Description

Change the directory structure of the project. Moved the js/ directory into app/js and test/js. When the tests are compiled then the app/js contents will be copied to out/test/js (along with test/js). Cleaned up a couple parts of the Makefile (more to come). Also moved third_party/qunit-1-* into test/deps/qunit/qunit-1-*. When my package manager 'tavern' is complete then it will place all external dependencies (like qunit) in a similar structure (at least symlinks to a local cache). This will also have the interpretation that external code is separated from internal code. Both the app/ and test/ html files will now reference 'bitmapper.js' which is the compiled output of the necessary JavaScript files. This means that neither app/ nor test/ can be loaded as a packaged app, they must first be compiled to out/app or out/test. Moved closure compiler to the build/ directory. Later build/ will store the closure compiler, the application's externs.js file, and also a chrome_extensions.js (an externs file for the chrome.* APIs). Also this means the compiler.jar will not be removed on clean (and clean can be rm -rf out/ ). The .gitignore has been updated to handle the contents of build/ that should not be under source control.

Patch Set 1 #

Total comments: 14

Patch Set 2 : Fixing some noted problems. #

Total comments: 6

Patch Set 3 : Rebasing #

Patch Set 4 : Removing compiler #

Total comments: 11

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Whitespace error #

Patch Set 7 : another WS error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2695 lines) Patch
M .gitignore View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M Makefile View 1 2 3 4 5 6 4 chunks +33 lines, -35 lines 0 comments Download
A + app/js/imageFile.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
A + app/js/main.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
A + app/js/namespace.js View 1 1 chunk +1 line, -1 line 0 comments Download
D js/imageFile.js View 1 chunk +0 lines, -60 lines 0 comments Download
D js/imageFile_test.js View 1 chunk +0 lines, -58 lines 0 comments Download
D js/main.js View 1 chunk +0 lines, -67 lines 0 comments Download
D js/namespace.js View 1 chunk +0 lines, -11 lines 0 comments Download
A + test/deps/qunit/qunit-1.12.0.css View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/deps/qunit/qunit-1.12.0.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + test/js/imageFile_test.js View 0 chunks +-1 lines, --1 lines 0 comments Download
M test/test.html View 1 chunk +3 lines, -5 lines 0 comments Download
D third_party/qunit-1.12.0.css View 1 chunk +0 lines, -244 lines 0 comments Download
D third_party/qunit-1.12.0.js View 1 chunk +0 lines, -2212 lines 0 comments Download

Messages

Total messages: 16
pajamallama
The first split-up commit after rewriting the Makefile.
10 years, 5 months ago (2013-11-27 23:22:52 UTC) #1
Matt Giuca
Good change, nice and clean this time. A couple of nits. Also, could you please ...
10 years, 5 months ago (2013-11-27 23:39:03 UTC) #2
calamity
I thought we were going to leave the structure so that js/ was in the ...
10 years, 5 months ago (2013-11-28 00:23:16 UTC) #3
pajamallama
I misinterpreted your suggestion: I thought you'd meant to copy js/ folders up to current ...
10 years, 5 months ago (2013-11-28 00:36:17 UTC) #4
pajamallama
Also Chris, to answer some other points you raised. I hoped to remove the $< ...
10 years, 5 months ago (2013-11-28 01:37:27 UTC) #5
calamity
On 2013/11/28 00:36:17, pajamallama wrote: > I misinterpreted your suggestion: I thought you'd meant to ...
10 years, 5 months ago (2013-11-28 01:38:37 UTC) #6
pajamallama
Matt: I've redone this commit with more doc explaining what it achieves. Will upload it ...
10 years, 5 months ago (2013-11-28 01:52:28 UTC) #7
pajamallama
Fixed issues noted by Matt & Chris. Also (semi-accidentally) fixes some issues with the imageFile.js ...
10 years, 5 months ago (2013-11-28 02:18:12 UTC) #8
pajamallama
Simplified the Makefile and the targets. Removes the need to list every source file in ...
10 years, 5 months ago (2013-11-28 03:29:39 UTC) #9
Matt Giuca
Re the change description: You don't need to describe the individual patch sets in the ...
10 years, 5 months ago (2013-11-28 04:30:31 UTC) #10
pajamallama
Fixed https://codereview.appspot.com/34470043/diff/20001/app/js/main.js File app/js/main.js (right): https://codereview.appspot.com/34470043/diff/20001/app/js/main.js#newcode32 app/js/main.js:32: * @param {Entry=} entry On 2013/11/28 04:30:32, Matt ...
10 years, 5 months ago (2013-11-28 04:48:58 UTC) #11
Matt Giuca
LGTM https://codereview.appspot.com/34470043/diff/20001/app/js/main.js File app/js/main.js (right): https://codereview.appspot.com/34470043/diff/20001/app/js/main.js#newcode32 app/js/main.js:32: * @param {Entry=} entry Oh OK, sorry. https://codereview.appspot.com/34470043/diff/100001/app/js/imageFile.js ...
10 years, 5 months ago (2013-11-28 04:51:57 UTC) #12
Matt Giuca
Nit: Get rid of the second double blank line in the CL description :)
10 years, 5 months ago (2013-11-28 05:07:32 UTC) #13
calamity
lgtm https://codereview.appspot.com/34470043/diff/110001/Makefile File Makefile (right): https://codereview.appspot.com/34470043/diff/110001/Makefile#newcode95 Makefile:95: # Download the closure compiler. nit: trailing space
10 years, 5 months ago (2013-11-28 05:48:02 UTC) #14
Matt Giuca
https://codereview.appspot.com/34470043/diff/110001/Makefile File Makefile (right): https://codereview.appspot.com/34470043/diff/110001/Makefile#newcode95 Makefile:95: # Download the closure compiler. On 2013/11/28 05:48:02, calamity ...
10 years, 5 months ago (2013-11-28 05:57:27 UTC) #15
Matt Giuca
10 years, 5 months ago (2013-11-28 06:10:18 UTC) #16
Message was sent while issue was closed.
Change committed as git commit e2cf0a5.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b