Skip to content

Commit

Permalink
Refactor project files/directories
Browse files Browse the repository at this point in the history
  • Loading branch information
herbiebradley committed Dec 9, 2018
1 parent 0ed2994 commit 198f2e2
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 658 deletions.
22 changes: 1 addition & 21 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: clean data lint requirements sync_data_to_s3 sync_data_from_s3
.PHONY: clean data requirements

#################################################################################
# GLOBALS #
Expand Down Expand Up @@ -34,26 +34,6 @@ clean:
find . -type f -name "*.py[co]" -delete
find . -type d -name "__pycache__" -delete

## Lint using flake8
lint:
flake8 src

## Upload Data to S3
sync_data_to_s3:
ifeq (default,$(PROFILE))
aws s3 sync data/ s3:https://$(BUCKET)/data/
else
aws s3 sync data/ s3:https://$(BUCKET)/data/ --profile $(PROFILE)
endif

## Download Data from S3
sync_data_from_s3:
ifeq (default,$(PROFILE))
aws s3 sync s3:https://$(BUCKET)/data/ data/
else
aws s3 sync s3:https://$(BUCKET)/data/ data/ --profile $(PROFILE)
endif

## Set up python interpreter environment
create_environment:
ifeq (True,$(HAS_CONDA))
Expand Down
153 changes: 0 additions & 153 deletions docs/Makefile

This file was deleted.

10 changes: 0 additions & 10 deletions docs/commands.rst

This file was deleted.

Loading

0 comments on commit 198f2e2

Please sign in to comment.