Skip to content

Commit

Permalink
Merge pull request explorable-viz#1019 from explorable-viz/separate-page
Browse files Browse the repository at this point in the history
Clean up script. Drop script from `deploy` action for now but expose instead as `yarn publish-standalone`.
  • Loading branch information
rolyp authored Jun 19, 2024
2 parents 7292e8a + f7d8447 commit fe5d91d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
run: |
yarn install
yarn build-app
./script/publish.sh
- name: gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"clean-app": "rm -rf dist/app && mkdir -p dist/app && cp -r fluid dist/app && cp web/index.html dist/app && cp -r web/css dist/app && cp -r web/pdf dist/app",
"build-app": "yarn clean-app && spago build --purs-args '--strict --censor-codes=UserDefinedWarning' && purs-backend-es bundle-app --main App --to dist/app/app.js",
"serve-app": "npx http-serve dist/app -a 127.0.0.1 -c-1",
"publish-standalone": "./script/publish.sh",
"clean": "rm -rf dist/tests && mkdir -p dist/tests && cp web/tests.html dist/tests",
"clean-bench": "rm -rf dist/benches && mkdir -p dist/benches && cp -r fluid dist/benches && cp web/index.html dist/benches && cp -r web/css dist/benches",
"build": "yarn tidy && yarn clean && spago build --purs-args '--strict --censor-codes=UserDefinedWarning' && purs-backend-es bundle-app --main Test.Test --to dist/tests/app.js",
Expand Down
6 changes: 0 additions & 6 deletions script/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
# set -x
set -e

# hardcode to renewables examples first of all

NAME="Renewables"
NAME_LISP_CASE=$(echo $NAME | sed 's/\([A-Z]\)/-\1/g' | tr 'A-Z' 'a-z' | sed 's/^-//')
echo $NAME_LISP_CASE

# shared by all standalone figures
cp -r fluid dist/app
cp -r web/css dist/app
Expand Down

0 comments on commit fe5d91d

Please sign in to comment.