01.02.2013 Views

Software Development Cross Solution - Index of - Free

Software Development Cross Solution - Index of - Free

Software Development Cross Solution - Index of - Free

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ump some things for later<br />

390 Chapter 11<br />

Broken Code Magnets<br />

Here are a bunch <strong>of</strong> things you could do to work your way through the<br />

Mercury Meals code. Put them in the order you think you should do them.<br />

Be careful, though, there might be some you don’t think will be worth doing<br />

at all.<br />

This is a tricky<br />

one. It’s going<br />

to pop up all<br />

over the place,<br />

so we put<br />

it vertically.<br />

Keep track<br />

<strong>of</strong> things as<br />

soon as you<br />

find them.<br />

You might<br />

decide it’s<br />

not important<br />

later, but<br />

for now,<br />

just record<br />

everything you<br />

think could be<br />

an issue.<br />

File bugs for issues you find.<br />

Once it’s in the<br />

repository, turn you<br />

CI tool loose on it.<br />

This gets your safety<br />

net set up.<br />

And now we can start<br />

thinking about getting it to<br />

work. We’ll talk more about<br />

this in a few pages.<br />

To-Do List<br />

Create a place in your<br />

bug tracker for issues.<br />

Organize the source<br />

code into your standard<br />

src, test, docs, etc.,<br />

directories.<br />

Write a build script.<br />

Put the code in<br />

your repository.<br />

Integrate the code into<br />

your CI configuration.<br />

Write tests simulating<br />

how you need to use the<br />

s<strong>of</strong>tware.<br />

Download at WoweBook.Com<br />

You need to get the code<br />

building, but you’ll be<br />

finding things you didn’t<br />

know as you go. Set up a<br />

place to capture these<br />

right away so you don’t lose<br />

this information. You’ll need<br />

it to fix things later.<br />

Keeping with the information<br />

theme, you want to capture<br />

how to build the s<strong>of</strong>tware.<br />

In order to do that, you<br />

need a build script. It’s best<br />

to get the code organized<br />

before you write your script,<br />

though, so you don’t have to<br />

write it, organize the code,<br />

and then change your script.<br />

Next you need to get this<br />

code version controlled. By<br />

organizing it into directories<br />

before this step, you won’t<br />

have to deal with shuffling<br />

around code you’ve already<br />

committed.<br />

You could also make a strong case for<br />

putting this in your repository before<br />

you shuffle stuff around, so you can roll<br />

things back if you mess it up.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!