aboutsummaryrefslogtreecommitdiffstats
path: root/bin/publish
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-01-03 14:02:54 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-01-03 14:02:54 -0600
commit4c982fda3cb120f72ce23f583e0b2b332b73f86e (patch)
tree841dafeda66887c42aaf653aef3c3b3f16a8f4f0 /bin/publish
parent25b99dec06be8b2f47c7cd3eff7ffeda42575089 (diff)
downloadslskd-4c982fda3cb120f72ce23f583e0b2b332b73f86e.tar.gz
tweak build scripts
Diffstat (limited to 'bin/publish')
-rwxr-xr-xbin/publish15
1 files changed, 11 insertions, 4 deletions
diff --git a/bin/publish b/bin/publish
index 6e53ae90..dfcfc315 100755
--- a/bin/publish
+++ b/bin/publish
@@ -5,7 +5,14 @@ build=true
while test $# -gt 0; do
case "$1" in
- --no-build)
+ -h|--help)
+ echo 'options:'
+ echo '-h, --help show help'
+ echo '--no-web-build skip web build'
+ echo '--runtine a valid RID (https://docs.microsoft.com/en-us/dotnet/core/rid-catalog)'
+ exit 0
+ ;;
+ --no-web-build)
build=false
shift
;;
@@ -26,10 +33,10 @@ if [ -z "$runtime" ]; then
fi
if [ "$build" == true ]; then
- echo $'\n> bin/build\n'
- bin/build
+ echo $'\n> bin/build --web-only --skip-tests\n'
+ bin/build --web-only --skip-tests
else
- echo $'\n build skipped\n'
+ echo $'\nbuild skipped\n'
fi
cd src/slskd