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

Commit9d36708

Browse files
committed
[CI]: Check Darwin from ci-hook
1 parent794b8b8 commit9d36708

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

‎.ci/run

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@ set -e
77

88
if ["`id -un`"="root" ];then
99
if [-d".ci" ];then
10-
groupadd ci
11-
useradd -g ci ci
10+
if ["`uname`"="Darwin" ];then
11+
if! [-f /Users/ci ];then
12+
echo"Error: User ci not found."
13+
exit 1
14+
fi
15+
else
16+
groupadd ci
17+
useradd -g ci ci
18+
fi
1219
chown -R ci:ci.
1320
su -c ./.ci/build_and_test_world ci
1421
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp