From c1da6627de672b8c1000d0cd45fd267ab8e0ca55 Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 5 Jul 2022 21:41:33 +0200 Subject: Migrate away from gitlab --- .gitlab-ci.yml | 10 ---------- README.md | 10 ---------- deploy | 16 ---------------- src/state.rs | 2 +- 4 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 .gitlab-ci.yml delete mode 100755 deploy 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 diff --git a/README.md b/README.md index e9517c3..a941707 100644 --- a/README.md +++ b/README.md @@ -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 -``` diff --git a/deploy b/deploy deleted file mode 100755 index 99fe22a..0000000 --- a/deploy +++ /dev/null @@ -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::, + cells: Vec, } impl State { -- cgit v1.2.3