Skip to content

Commit bdd2c06

Browse files
committed
Include a 'build' command by default
1 parent a14b704 commit bdd2c06

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

setup

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ do-setup() {
2222
create-or-inform script/README.md script/README.md no-inform
2323
chmod +x script/bootstrap
2424

25-
for cmd in cibuild clean console server setup test update; do
25+
for cmd in build cibuild clean console server setup test update; do
2626
if [[ -f script/$cmd && ! -L script/$cmd ]]; then
2727
echo "script/$cmd is not a symlink; please remove it"
2828
elif [[ ! -L script/$cmd ]]; then

specs/Setup.cram.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Without .git:
77
(Not using git? Be sure to exclude .devkit and .deps from revision control)
88
devkit setup is complete; you can now commit the changes
99

10-
10+
~~~sh
1111
$ ls -ap
1212
./
1313
../
@@ -20,6 +20,7 @@ Without .git:
2020
total * (glob)
2121
* README.md (glob)
2222
* bootstrap (glob)
23+
* build -> bootstrap (glob)
2324
* cibuild -> bootstrap (glob)
2425
* clean -> bootstrap (glob)
2526
* console -> bootstrap (glob)
@@ -28,10 +29,10 @@ Without .git:
2829
* test -> bootstrap (glob)
2930
* update -> bootstrap (glob)
3031

31-
3232
$ diff script/bootstrap .devkit/script/bootstrap
3333
$ diff .envrc .devkit/sample.envrc
3434
$ diff .dkrc .devkit/sample.dkrc
35+
~~~
3536

3637
With git (clean):
3738

@@ -48,6 +49,7 @@ With git (clean):
4849
A .gitignore
4950
A script/README.md
5051
A script/bootstrap
52+
A script/build
5153
A script/cibuild
5254
A script/clean
5355
A script/console
@@ -61,25 +63,28 @@ With git (clean):
6163

6264
With git (dirty):
6365

66+
~~~sh
6467
$ .devkit/setup
6568
Please commit or stash your changes before running setup
6669
[65]
6770

6871
$ git commit -m "Added devkit"
6972
[master (root-commit) *] Added devkit (glob)
70-
12 files changed, 93 insertions(+)
73+
13 files changed, 94 insertions(+)
7174
create mode 100644 .dkrc
7275
create mode 100644 .envrc
7376
create mode 100644 .gitignore
7477
create mode 100644 script/README.md
7578
create mode 100755 script/bootstrap
79+
create mode 120000 script/build
7680
create mode 120000 script/cibuild
7781
create mode 120000 script/clean
7882
create mode 120000 script/console
7983
create mode 120000 script/server
8084
create mode 120000 script/setup
8185
create mode 120000 script/test
8286
create mode 120000 script/update
87+
~~~
8388

8489
With already existing files:
8590

0 commit comments

Comments
 (0)