Skip to content

Commit

Permalink
move shared and viz in gui directory
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinepouille committed Mar 22, 2024
1 parent 8ee0a30 commit ec9e896
Show file tree
Hide file tree
Showing 22 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SCRIPTSSOURCE = $(wildcard $(MANSCRIPTREP)*.sh)
SCRIPTSWITNESS = $(SCRIPTSSOURCE:.sh=.witness) $(MANGENREP)version.tex
MODELS = $(wildcard $(MANKAPPAMODELSREP)*.ka)

RESOURCES_HTML=$(wildcard shared/*.js) $(wildcard viz/*.js) $(wildcard viz/*.css) gui/favicon.ico gui/package.json
RESOURCES_HTML=$(wildcard gui/shared/*.js) $(wildcard gui/viz/*.js) $(wildcard gui/viz/*.css) gui/favicon.ico gui/package.json

APP_EXT?=cdn
INDEX_HTML=gui/use-$(APP_EXT).html
Expand Down
2 changes: 1 addition & 1 deletion core/simulation/dune
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
; Generate resource_strings.ml with the content of some files
(rule
(targets resource_strings.ml)
(deps ../../dev/load_files_into_ocaml_string_vars.sh ../../shared/flux.js ../../viz/common.js)
(deps ../../dev/load_files_into_ocaml_string_vars.sh ../../gui/shared/flux.js ../../gui/viz/common.js)
(action
(with-stdout-to
%{targets}
Expand Down
2 changes: 1 addition & 1 deletion dev/update-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ case $1 in
scp -o UserKnownHostsFile=dev/deploy_hosts -i dev/travis-deploy -r \
${PLAYGROUND}/try travis@api.kappalanguage.org:/var/www/tools.kappalanguage.org/
empty_or_create ${PLAYGROUND}/viz
cp viz/* ${PLAYGROUND}/viz/
cp gui/viz/* ${PLAYGROUND}/viz/
scp -o UserKnownHostsFile=dev/deploy_hosts -i dev/travis-deploy -r \
${PLAYGROUND}/viz travis@api.kappalanguage.org:/var/www/tools.kappalanguage.org/
[ -d ${PLAYGROUND}/binaries ] || mkdir ${PLAYGROUND}/binaries
Expand Down
3 changes: 3 additions & 0 deletions gui/shared/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This directory contains javascript code both used by
- the webapp ./gui
- html generation in ./core/simulation
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ec9e896

Please sign in to comment.