Skip to content
Snippets Groups Projects
Makefile 754 B
Newer Older
  • Learn to ignore specific revisions
  • PUB_FILES=driver.html libraries jquery-ui-1.11.4.custom jquery_scroll \
    
    	  jsref/displayed_sources.js tools.js node_modules/esprima/esprima.js \
    	  esprima-to-ast.js jsref/lineof.js navig-driver.js \
    	  jsref/assembly.js
    
    all: jsjsref
    
    init:
    	opam switch 4.03.0
    	eval `opam config env`
    	opam pin -yn add jsjsref .
    	opam install -y jsjsref --deps-only
    
    publish: generator $(PUB_FILES)
    
    	rsync -azR --no-p --rsh=ssh -O $^ gf:/home/groups/ajacs/htdocs/jsexplain/
    
    
    generator:
    	$(MAKE) -C generator
    
    
    jsjsref: generator
    	$(MAKE) -C jsref
    
    
    	git submodule update --init test/test262
    
    	node_modules/.bin/mocha
    
    
    clean:
    	$(MAKE) -C generator clean
    	$(MAKE) -C jsref clean
    
    .PHONY: publish jsjsref generator test_init test clean