TeamMartinez / YOLO-api

REST API for the yolo project (GitHub Auth)
http://vm344a.se.rit.edu
1 stars 1 forks source link

Refactor Directory Creation #12

Open jdw6359 opened 8 years ago

jdw6359 commented 8 years ago

Directories 'public/stock_history' and 'public/calendar_events' are currently gitignored so that any files downloaded during development will not be tracked.

My hacky approach is to have a utility method poll the existence of the directory, and create it if need be.

I am looking for a way for these directories to be tracked by the remote, but not track the dynamic files added to it.

kocsenc commented 8 years ago

I don't think you can add empty directories to get tracked.

jdw6359 commented 8 years ago

I'll just stick with what I have - no biggie

jonobrien commented 8 years ago

You could add an empty file to start with?

mok4ry commented 8 years ago

Maybe add a .gitignore file to each directory with simply * in it?