Add login server support to makefile; add readme

This commit is contained in:
xenia 2020-03-14 17:53:36 -04:00
parent bc3420d520
commit 9b734233c0
2 changed files with 35 additions and 1 deletions

View File

@ -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) ."

19
README.md Normal file
View File

@ -0,0 +1,19 @@
__ __ __
__/ // /_/ /___ _____ ____ _ __ ___ ____ __
/_ _ __/ / __ `/ __ \/ __ `/ / / / / | /| / / / / /
/_ _ __/ / /_/ / / / / /_/ / / /_/ /| |/ |/ / /_/ /
/_//_/ /_/\__,_/_/ /_/\__, / \__,_/ |__/|__/\__,_/
/____/
## High level approach
TODO
## Challenges
TODO
## Testing
TODO