-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52c6bb0
commit e46b7d9
Showing
117 changed files
with
3,129 additions
and
2,634 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/.bundle | ||
/build | ||
/.sass-cache | ||
/vendor | ||
/dep | ||
/public |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.