-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* exportapp: include in filesystem and accept app path Usage has be changed to: `GOOS=<os> GOARCH=<arch> exportapp <output-name> <app-path>` * build: cache pkg in `/sys/build` instead of temp dir Using the temp dir isn't as practical considering we have to reload to update the shell binary, causing needless unpacking every time. In the future this may become a non-issue with process reloading. That being said, build-pkg data doesn't change very often and it makes sense to have a semi-permanent cache. * fs: only copy in kernel binaries if they don't already exist * fs: always copy terminal app Fixes 404 error on localhost.
- Loading branch information
1 parent
4dbd547
commit 57cd086
Showing
7 changed files
with
67 additions
and
24 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
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
rm -r /sys/export/assets | ||
cp -r /app/$1 /sys/export/assets | ||
cp -r $2 /sys/export/assets | ||
mkdir /sys/tmp/export | ||
build -os $GOOS -arch $GOARCH -output /sys/tmp/export/$1 /sys/export | ||
dl /sys/tmp/export/$1 |
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