This commit is contained in:
Vendored
+1
-1
@@ -8,7 +8,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh 'wasm-pack build --target web --out-dir /var/www/zwietering.eu/projects/double-pendulum'
|
sh 'wasm-pack build --target web --out-dir /var/www/zwietering.eu/projects/double-pendulum/pkg'
|
||||||
sh 'cp ./index.html /var/www/zwietering.eu/projects/double-pendulum'
|
sh 'cp ./index.html /var/www/zwietering.eu/projects/double-pendulum'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import init from './double_pendulum_wasm.js';
|
import init from './pkg/double_pendulum_wasm.js';
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
await init();
|
await init();
|
||||||
|
|||||||
Reference in New Issue
Block a user