Website

Check-in [8b2dedd187]
Login
Overview
Comment:Reduced folder hierarchy.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8b2dedd187c9fe667e8c2dad35a181038cf64d35d061a39a8c19f1698eb15800
User & Date: robin.hansen on 2020-11-12 06:16:13
Other Links: manifest | tags
Context
2020-11-12
16:00
Fill in links for navigation bar. check-in: a03aab1a60 user: robin.hansen tags: trunk
06:16
Reduced folder hierarchy. check-in: 8b2dedd187 user: robin.hansen tags: trunk
06:06
Merged frontpage and playground sub-projects. check-in: b874908eeb user: robin.hansen tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Modified deploy.sh from [76cd271869] to [276252bd06].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash
set -e

rm -r dist || true
mkdir dist

# Build playground
pushd playground

npm ci
npm run build

popd

# Upload to s3
pushd dist

aws s3 cp ./index.html s3://play-website \
    --cache-control must-revalidate

aws s3 cp ./playground.html s3://play-website \
    --cache-control must-revalidate

aws s3 cp ./playground.*.js s3://play-website \
    --cache-control immutable

popd




<
<
<
<
<



<
<













1
2
3
4





5
6
7


8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
set -e

rm -r dist || true





npm ci
npm run build



# Upload to s3
pushd dist

aws s3 cp ./index.html s3://play-website \
    --cache-control must-revalidate

aws s3 cp ./playground.html s3://play-website \
    --cache-control must-revalidate

aws s3 cp ./playground.*.js s3://play-website \
    --cache-control immutable

popd

Name change from playground/elm.json to elm.json.

Name change from playground/package-lock.json to package-lock.json.

Modified package.json from [4e49b35c77] to [c0d540d10b].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "name": "playground",
  "version": "1.0.0",
  "private": true,
  "description": "A playground for the Play programming language",
  "scripts": {
    "start": "parcel src/index.html",
    "build": "parcel build src/index.html -d ../dist --no-source-maps",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Robin Heggelund Hansen",
  "license": "MIT",
  "devDependencies": {
    "@babel/polyfill": "^7.12.1",
    "elm": "^0.19.1-3",







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "name": "playground",
  "version": "1.0.0",
  "private": true,
  "description": "A playground for the Play programming language",
  "scripts": {
    "start": "parcel src/index.html",
    "build": "parcel build src/index.html --no-source-maps",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Robin Heggelund Hansen",
  "license": "MIT",
  "devDependencies": {
    "@babel/polyfill": "^7.12.1",
    "elm": "^0.19.1-3",

Name change from playground/src/Lesson01.elm to src/Lesson01.elm.

Name change from playground/src/Lesson02.elm to src/Lesson02.elm.

Name change from playground/src/Lesson03.elm to src/Lesson03.elm.

Name change from playground/src/Lesson04.elm to src/Lesson04.elm.

Name change from playground/src/Lesson05.elm to src/Lesson05.elm.

Name change from playground/src/Lesson06.elm to src/Lesson06.elm.

Name change from playground/src/Lesson07.elm to src/Lesson07.elm.

Name change from playground/src/Lesson08.elm to src/Lesson08.elm.

Name change from playground/src/Lesson09.elm to src/Lesson09.elm.

Name change from playground/src/LessonContract.elm to src/LessonContract.elm.

Name change from playground/src/Playground.elm to src/Playground.elm.

Name change from playground/src/index.html to src/index.html.

Name change from playground/src/playground.html to src/playground.html.

Modified src/playground.js from [1cab96131b] to [515ec060c9].

1
2
3
4
5
6
7
8
9
import { Elm } from './Playground.elm';
import Compiler from '../../../play/wasm_tests/compiler';
import '@babel/polyfill';
import wabtInit from 'wabt';

const app = Elm.Playground.init({
  node: document.getElementById('elm-app')
});


|







1
2
3
4
5
6
7
8
9
import { Elm } from './Playground.elm';
import Compiler from '../../play/wasm_tests/compiler';
import '@babel/polyfill';
import wabtInit from 'wabt';

const app = Elm.Playground.init({
  node: document.getElementById('elm-app')
});