Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: replace rock-create-bundle with links to the most up-to-date Syskit documentation #44

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 6 additions & 28 deletions bin/rock-create-bundle
Original file line number Diff line number Diff line change
@@ -1,30 +1,8 @@
#! /bin/sh

set -e

path=$1
if test -z "$path"; then
echo "usage: rock-create-bundle dirname"
exit 1
fi
if test -e "$path"; then
echo "$path already exists"
exit 1
fi

base_dir=`dirname $path`
if test -n "$base_dir"; then
mkdir -p $base_dir
name=`basename $path`
else
name=$path
fi

if test -z "$ROCK_TEMPLATE_PREFIX"; then
ROCK_TEMPLATE_PREFIX=https://github.com/rock-core/base-templates-
ROCK_TEMPLATE_SUFFIX=.git
fi
git clone ${ROCK_TEMPLATE_PREFIX}bundle${ROCK_TEMPLATE_SUFFIX} $path
cd $path
./config.sh $name

echo "The rock-create-bundle script is obsolete"
echo "To create a Syskit-enabled bundle, follow instructions from"
echo " https://www.rock-robotics.org/rock-and-syskit/basics/getting_started.html"
echo
echo "Then read the following page to add it to your workspace"
echo " https://www.rock-robotics.org/rock-and-syskit/basics/publishing.html"