Compare commits
3
Commits
6ee793765b
...
930b896d58
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
930b896d58 | ||
|
|
c3e6ea7b88 | ||
|
|
61ca20a5e1 |
Vendored
+13
@@ -14,6 +14,13 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Build docs') {
|
||||||
|
steps {
|
||||||
|
sh 'cargo doc'
|
||||||
|
archiveArtifacts artifacts: 'target/doc'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
steps {
|
steps {
|
||||||
sh 'rm -r /var/www/zwietering.eu/projects/double-pendulum'
|
sh 'rm -r /var/www/zwietering.eu/projects/double-pendulum'
|
||||||
@@ -21,6 +28,12 @@ pipeline {
|
|||||||
sh 'cp -r ./pkg/* /var/www/zwietering.eu/projects/double-pendulum'
|
sh 'cp -r ./pkg/* /var/www/zwietering.eu/projects/double-pendulum'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Deploy docs') {
|
||||||
|
steps {
|
||||||
|
sh 'cp -r ./target/doc/ /var/www/zwietering.eu/projects/double-pendulum'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# double-pendulum
|
# double-pendulum
|
||||||
|
|
||||||
|
[Docs](https://zwietering.eu/projects/double-pendulum/doc/double_pendulum_wasm)
|
||||||
|
|
||||||
<!--toc:start-->
|
<!--toc:start-->
|
||||||
|
|
||||||
- [double-pendulum](#double-pendulum)
|
- [double-pendulum](#double-pendulum)
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
//! WASM implementation of a double pendulum simulation
|
||||||
|
//!
|
||||||
|
//! See README.md for installation / build instructions.
|
||||||
|
//! This implementation is just a stub for now.
|
||||||
|
|
||||||
use wasm_bindgen::prelude::*;
|
use wasm_bindgen::prelude::*;
|
||||||
|
|
||||||
#[wasm_bindgen(start)]
|
#[wasm_bindgen(start)]
|
||||||
|
|||||||
Reference in New Issue
Block a user