diff options
author | Joris | 2022-07-05 21:41:33 +0200 |
---|---|---|
committer | Joris | 2022-07-05 21:41:33 +0200 |
commit | c1da6627de672b8c1000d0cd45fd267ab8e0ca55 (patch) | |
tree | 5ae92084bebc05a64aa4b44df32ec514c02cb246 | |
parent | 9f708ead7a10763c0201cbc29382fefc6822e23a (diff) |
Migrate away from gitlab
-rw-r--r-- | .gitlab-ci.yml | 10 | ||||
-rw-r--r-- | README.md | 10 | ||||
-rwxr-xr-x | deploy | 16 | ||||
-rw-r--r-- | src/state.rs | 2 |
4 files changed, 1 insertions, 37 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index a872f80..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,10 +0,0 @@ -image: alpine:latest -pages: - stage: deploy - script: - - echo 'Nothing to do...' - artifacts: - paths: - - public - only: - - pages @@ -7,18 +7,8 @@ with JavaScript. See [the wikipedia page](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) to get more information about game of life. -## Live - -[https://guyonvarch.gitlab.io/game-of-life](https://guyonvarch.gitlab.io/game-of-life) - ## Getting started ```bash nix-shell --run ./watch ``` - -## Deploy - -```bash -nix-shell --run ./deploy -``` @@ -1,16 +0,0 @@ -#!/usr/bin/env bash -set -e -git branch -D pages || true -git checkout -b pages -rm -f public/game_of_life.js -rm -f public/game_of_life_bg.wasm -rm -f public/game_of_life_bg.wasm.gz -wasm-pack build --release --target web -mv pkg/game_of_life.js public -wasm-opt -O -o public/game_of_life_bg.wasm pkg/game_of_life_bg.wasm -gzip -9 --keep public/game_of_life_bg.wasm -git add . -git commit -m "Deploy pages" -git push --force origin pages -git checkout master -git branch -D pages diff --git a/src/state.rs b/src/state.rs index 5d13902..be6e13b 100644 --- a/src/state.rs +++ b/src/state.rs @@ -4,7 +4,7 @@ use crate::canvas::Canvas; pub struct State { width: u32, height: u32, - cells: Vec::<bool>, + cells: Vec<bool>, } impl State { |