Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit02cb427

Browse files
author
delphidabbler
committed
Merge branch 'feature/create-csdb-tools' into develop
2 parents63a82a1 +4f60693 commit02cb427

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_release

‎csdb/MakeRelease.sh‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/bin/bash
2+
3+
# --------------------------------------------------------------------------
4+
#
5+
# Build tool for Windows to package up files ready for release.
6+
#
7+
# Two packages are made, each in a zip file: one containing the collection and
8+
# the other containing documentation. Both zip files are written to the
9+
# _release sub-folder in the collection's home directory.
10+
#
11+
# Any pre-existing _release sub-folder is deleted before the zip files are
12+
# created.
13+
#
14+
# Requirements:
15+
#
16+
# - The release version number must be passed to this script as a command
17+
# line.
18+
#
19+
# - The zip utility is required to zip up the files.
20+
#
21+
# --------------------------------------------------------------------------
22+
23+
24+
VERSION=$1
25+
RELEASE_DIR="./_release"
26+
RELEASE_FILE_PREFIX="csdb-v"
27+
COLLECTION_ZIP_FILE="${RELEASE_DIR}/${RELEASE_FILE_PREFIX}${VERSION}.zip"
28+
DOCS_ZIP_FILE="${RELEASE_DIR}/${RELEASE_FILE_PREFIX}${VERSION}-docs.zip"
29+
30+
echo Creating CSDB release$1
31+
echo
32+
33+
rm -rf$RELEASE_DIR||true
34+
mkdir$RELEASE_DIR
35+
36+
echo Zipping collection
37+
zip -j -q$COLLECTION_ZIP_FILE ./collection/*
38+
39+
echo Zipping documentation
40+
zip -j -q$DOCS_ZIP_FILE ./docs/*
41+
42+
echo Done

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp