Skip to content

Commit

Permalink
Replace Middleman with inko-wobsite
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Jan 30, 2024
1 parent 52c6bb0 commit e46b7d9
Show file tree
Hide file tree
Showing 117 changed files with 3,129 additions and 2,634 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/.bundle
/build
/.sass-cache
/vendor
/dep
/public
14 changes: 0 additions & 14 deletions .rubocop.yml

This file was deleted.

18 changes: 0 additions & 18 deletions Gemfile

This file was deleted.

191 changes: 0 additions & 191 deletions Gemfile.lock

This file was deleted.

31 changes: 31 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# The S3 bucket to upload the files to.
BUCKET := inko-lang.org

# The Cloudfront distribution.
DIST := E2461OP4YFCUOQ

build:
@inko build
@./build/main

setup:
@inko pkg sync

watch:
@bash scripts/watch.sh

clean:
@rm -rf public

deploy:
@rclone sync \
--config rclone.conf \
--checksum \
--header-upload 'Cache-Control:max-age=604800' \
--s3-acl 'public-read' \
public "production:${BUCKET}"
@aws cloudfront create-invalidation \
--distribution-id "${DIST}" \
--paths '/*'

.PHONY: setup build watch clean deploy
93 changes: 0 additions & 93 deletions config.rb

This file was deleted.

7 changes: 0 additions & 7 deletions data/corporate_sponsors.yml

This file was deleted.

9 changes: 0 additions & 9 deletions data/jumbotron.yml

This file was deleted.

19 changes: 0 additions & 19 deletions data/menu.yml

This file was deleted.

2 changes: 0 additions & 2 deletions data/notice.yaml

This file was deleted.

Loading

0 comments on commit e46b7d9

Please sign in to comment.