This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
a295978
commit 0f16f76
Showing
7 changed files
with
39 additions
and
6 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 |
---|---|---|
|
@@ -8,10 +8,10 @@ | |
*.exe | ||
|
||
# Generated by Cargo | ||
/daemon/target/ | ||
/target/ | ||
|
||
# IDE | ||
/.idea | ||
|
||
# Cargo overrides | ||
/.cargo | ||
/.cargo |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "gworkerd" | ||
version = "0.5.0" | ||
version = "0.5.3" | ||
authors = [ "Frederik Bosch <[email protected]>" ] | ||
|
||
[dependencies] | ||
|
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
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 @@ | ||
#!/bin/bash | ||
if [ -z "$1" ]; then | ||
echo "You forgot the version number" | ||
exit 1 | ||
fi | ||
|
||
# make sure we are in the right directory | ||
cd "$(dirname "$0")" | ||
|
||
# update monitor submodule to latest commit | ||
git submodule update --remote --merge | ||
|
||
# install monitor dependencies and build monitor | ||
cd monitor && npm install && bower install && ember build --environment=production && cd .. | ||
|
||
# modify version number in cargo toml | ||
version_toml="version = \"$1\"" | ||
sed -i "s/version\(.*\)/$version_toml/" Cargo.toml | ||
|
||
# build daemon | ||
cargo build --release | ||
|
||
# commit current version | ||
git commit -a -m $1 && git push && git tag $1 && git push --tags | ||
|
||
# tar gz daemon and monitor | ||
tar --transform "s|monitor/dist|monitor|" \ | ||
--transform "s|target/release/gworkerd|gworkerd|" \ | ||
-cvzf release/gworkerd.$1.tar.gz \ | ||
target/release/gworkerd \ | ||
monitor/dist |
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,2 @@ | ||
* | ||
!.gitignore |