diff --git a/Makefile b/Makefile index 80c46b1..6d95822 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,12 @@ -.PHONY: all clean test c t netsim-shell pat +.PHONY: all clean test c t netsim-shell pat upload submit + +SOURCES=$(shell git ls-tree -r master --name-only) +CCIS_TEAM_NAME=hash-lang-uwu +CCIS_PROJECT_NAME=project3 +CCIS_SERVER=login.ccs.neu.edu +CCIS_PATH=CS3700/$(CCIS_PROJECT_NAME)/ +CCIS_FMT_CHECK=/course/cs3700sp20/code/project3/project3_format_check.py +CCIS_TURNIN=/course/cs3700sp20/bin/turnin all: release-build @@ -36,3 +44,10 @@ netsim-shell: .netsim pat: cat scripts/data.txt + +upload: $(SOURCES) + @rsync -avzzR --progress $^ $(CCIS_SERVER):$(CCIS_PATH) + @ssh $(CCIS_SERVER) -t -- "tput bold; $(CCIS_FMT_CHECK) $(CCIS_PATH); tput sgr0" + +submit: upload + ssh $(CCIS_SERVER) -t -- "cd $(CCIS_PATH); $(CCIS_TURNIN) $(CCIS_PROJECT_NAME) ." diff --git a/README.md b/README.md new file mode 100644 index 0000000..93af14a --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ + + __ __ __ + __/ // /_/ /___ _____ ____ _ __ ___ ____ __ + /_ _ __/ / __ `/ __ \/ __ `/ / / / / | /| / / / / / + /_ _ __/ / /_/ / / / / /_/ / / /_/ /| |/ |/ / /_/ / + /_//_/ /_/\__,_/_/ /_/\__, / \__,_/ |__/|__/\__,_/ + /____/ + +## High level approach + +TODO + +## Challenges + +TODO + +## Testing + +TODO