mirror of
https://github.com/minoplhy/scriptbox.git
synced 2024-12-04 17:36:57 +00:00
build_gitea: add: forgejo, alpine
This commit is contained in:
parent
90aa47c703
commit
847cd3eebb
File diff suppressed because it is too large
Load Diff
@ -29,7 +29,23 @@ while [ ${#} -gt 0 ]; do
|
||||
;; # NodeJS Version
|
||||
--static | -s)
|
||||
BUILD_STATIC=true
|
||||
;; # Build as Static Assets file
|
||||
;; # Also Build Static Assets file
|
||||
--type=* )
|
||||
BUILD_TYPE="${1#*=}"
|
||||
BUILD_TYPE="${BUILD_TYPE,,}"
|
||||
case $BUILD_TYPE in
|
||||
"gitea") BUILD_TYPE="gitea" ;;
|
||||
"forgejo") BUILD_TYPE="forgejo" ;;
|
||||
"")
|
||||
echo "ERROR : --type= is empty!"
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
echo "ERROR : Vaild values for --type are -> gitea, forgejo"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user