Skip to content
This repository was archived by the owner on May 13, 2020. It is now read-only.

Commit e0def2b

Browse files
committed
more changes
1 parent b4ce821 commit e0def2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+93
-93
lines changed

.ci-scripts/release/config.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

3-
export APPLICATION_NAME="stable"
3+
export APPLICATION_NAME="tack"
44
export APPLICATION_SUMMARY="A simple dependency manager for the Pony language"

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
build
2-
/stable/test/integration/tmp/**
3-
!/stable/test/integration/tmp/.gitkeep
2+
/tack/test/integration/tmp/**
3+
!/tack/test/integration/tmp/.gitkeep
44
# generated
55
stable/version.pony

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ WORKDIR /src/pony-stable
44

55
COPY Makefile LICENSE VERSION /src/pony-stable/
66

7-
WORKDIR /src/pony-stable/stable
7+
WORKDIR /src/pony-stable/tack
88

9-
COPY stable /src/pony-stable/stable/
9+
COPY tack /src/pony-stable/tack/
1010

1111
WORKDIR /src/pony-stable
1212

@@ -15,6 +15,6 @@ RUN make arch=x86-64 static=true linker=bfd \
1515

1616
FROM alpine:3.10
1717

18-
COPY --from=build /usr/local/bin/stable /usr/local/bin/stable
18+
COPY --from=build /usr/local/bin/tack /usr/local/bin/tack
1919

20-
CMD stable
20+
CMD tack

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ static ?= false
66
linker ?=
77

88
BUILD_DIR ?= build/$(config)
9-
SRC_DIR ?= stable
10-
binary := $(BUILD_DIR)/stable
9+
SRC_DIR ?= tack
10+
binary := $(BUILD_DIR)/tack
1111
tests_binary := $(BUILD_DIR)/test
1212

1313
ifdef config
@@ -79,7 +79,7 @@ $(tests_binary): $(GEN_FILES) $(SOURCE_FILES) $(TEST_FILES) | $(BUILD_DIR)
7979
${PONYC} $(arch_arg) $(LINKER) --debug -o ${BUILD_DIR} $(SRC_DIR)/test
8080

8181
integration: $(binary) $(tests_binary)
82-
STABLE_BIN=$$(pwd)/$(binary) $(tests_binary) --only=integration --sequential
82+
TACK_BIN=$$(pwd)/$(binary) $(tests_binary) --only=integration --sequential
8383

8484
test: $(tests_binary)
8585
$^ --exclude=integration --sequential

doc/cli/stable.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

doc/cli/stable-add.md renamed to doc/cli/tack-add.md

Lines changed: 13 additions & 13 deletions
Lines changed: 4 additions & 4 deletions

doc/cli/stable-fetch.md renamed to doc/cli/tack-fetch.md

Lines changed: 2 additions & 2 deletions

doc/cli/tack.md

Lines changed: 40 additions & 0 deletions
File renamed without changes.
File renamed without changes.

stable/_test.pony renamed to tack/_test.pony

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ class _TestBundleLocator is UnitTest
1313
fun name(): String => "stable._BundleLocator"
1414

1515
fun bundle(subpath: String): String =>
16-
Path.join("stable/test/testdata", subpath).string()
16+
Path.join("tack/test/testdata", subpath).string()
1717

1818
fun apply(h: TestHelper) ? =>
19-
h.assert_eq[String]("stable/test/testdata/nested",
19+
h.assert_eq[String]("tack/test/testdata/nested",
2020
_BundleLocator(h.env, bundle("nested")) as String)
2121

2222
// nested has one, but so does nested/deeply
23-
h.assert_eq[String]("stable/test/testdata/nested/deeply",
23+
h.assert_eq[String]("tack/test/testdata/nested/deeply",
2424
_BundleLocator(h.env, bundle("nested/deeply")) as String)
2525

2626
// nested/empty has no tack.json
27-
h.assert_eq[String]("stable/test/testdata/nested",
27+
h.assert_eq[String]("tack/test/testdata/nested",
2828
_BundleLocator(h.env, bundle("nested/empty")) as String)
2929

3030
// stable itself has no tack.json, so this ancestor-checking
31-
// from stable/test/testdata/empty yields no tack.json
31+
// from tack/test/testdata/empty yields no tack.json
3232
h.assert_eq[None](None, _BundleLocator(h.env, bundle("empty")) as None)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

stable/test/integration/_exec.pony renamed to tack/test/integration/_exec.pony

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ actor _Exec
2121
try
2222
let args = cmdline.split_by(" ")
2323
let path = FilePath(h.env.root as AmbientAuth,
24-
"stable/test/integration/helper.sh")?
24+
"tack/test/integration/helper.sh")?
2525
let auth = h.env.root as AmbientAuth
2626
let vars: Array[String] iso = [
2727
"CWD=" + tmp
File renamed without changes.

stable/test/integration/test_env.pony renamed to tack/test/integration/test_env.pony

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TestEnvNoBundle is UnitTest
2525
let tmp =
2626
try
2727
FilePath.mkdtemp(h.env.root as AmbientAuth,
28-
"stable/test/integration/tmp/")?
28+
"tack/test/integration/tmp/")?
2929
else
3030
h.fail("failed to create temporary directory")
3131
h.complete(false)
@@ -49,7 +49,7 @@ class TestEnvEmptyBundleInSameDir is UnitTest
4949
let tmp =
5050
try
5151
FilePath.mkdtemp(h.env.root as AmbientAuth,
52-
"stable/test/integration/tmp/")?
52+
"tack/test/integration/tmp/")?
5353
else
5454
h.fail("failed to create temporary directory")
5555
h.complete(false)
@@ -83,7 +83,7 @@ class TestEnvBundleInSameDir is UnitTest
8383
let tmp =
8484
try
8585
FilePath.mkdtemp(h.env.root as AmbientAuth,
86-
"stable/test/integration/tmp/")?
86+
"tack/test/integration/tmp/")?
8787
else
8888
h.fail("failed to create temporary directory")
8989
h.complete(false)
@@ -134,7 +134,7 @@ class TestEnvBundleInSameDirWithCall is UnitTest
134134
let tmp =
135135
try
136136
FilePath.mkdtemp(h.env.root as AmbientAuth,
137-
"stable/test/integration/tmp/")?
137+
"tack/test/integration/tmp/")?
138138
else
139139
h.fail("failed to create temporary directory")
140140
h.complete(false)
@@ -170,7 +170,7 @@ class TestEnvBundleInParentDir is UnitTest
170170
let tmp =
171171
try
172172
FilePath.mkdtemp(h.env.root as AmbientAuth,
173-
"stable/test/integration/tmp/")?
173+
"tack/test/integration/tmp/")?
174174
else
175175
h.fail("failed to create temporary directory")
176176
h.complete(false)
@@ -208,7 +208,7 @@ class TestEnvBadBundleInNestedAndValidBundleInParentDir is UnitTest
208208
let tmp =
209209
try
210210
FilePath.mkdtemp(h.env.root as AmbientAuth,
211-
"stable/test/integration/tmp/")?
211+
"tack/test/integration/tmp/")?
212212
else
213213
h.fail("failed to create temporary directory")
214214
h.complete(false)

stable/test/integration/test_usage.pony renamed to tack/test/integration/test_usage.pony

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class TestUsage is UnitTest
1616
let tmp =
1717
try
1818
FilePath.mkdtemp(h.env.root as AmbientAuth,
19-
"stable/test/integration/tmp/")?
19+
"tack/test/integration/tmp/")?
2020
else
2121
h.fail("failed to create temporary directory")
2222
return

stable/test/integration/test_version.pony renamed to tack/test/integration/test_version.pony

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class TestVersion is UnitTest
1212
let tmp =
1313
try
1414
FilePath.mkdtemp(h.env.root as AmbientAuth,
15-
"stable/test/integration/tmp/")?
15+
"tack/test/integration/tmp/")?
1616
else
1717
h.fail("failed to create temporary directory")
1818
return
File renamed without changes.

stable/test/test_bundle.pony renamed to tack/test/test_bundle.pony

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ use ".."
44

55
class TestBundle is UnitTest
66
new iso create() => None
7-
fun name(): String => "stable.Bundle"
7+
fun name(): String => "tack.Bundle"
88

99
fun bundle(subpath: String): String =>
10-
Path.join("stable/test/testdata", subpath).string()
10+
Path.join("tack/test/testdata", subpath).string()
1111

1212
fun apply(h: TestHelper) ? =>
1313
h.assert_error(_BundleCreate(h.env, "notfound")?, "nonexistant directory")
@@ -43,34 +43,34 @@ class TestBundle is UnitTest
4343

4444
class TestBundleSelfReferentialPaths is UnitTest
4545
new iso create() => None
46-
fun name(): String => "stable.Bundle.self-referential-paths"
46+
fun name(): String => "tack.Bundle.self-referential-paths"
4747

4848
fun apply(h: TestHelper) ? =>
4949
let b = Bundle(_Path(h.env, "self-referential")?) ?
5050
let paths = b.paths()
5151
h.assert_eq[USize](1, paths.size())
5252
h.assert_true(paths(0)?
53-
.contains("stable/test/testdata/self-referential"))
53+
.contains("tack/test/testdata/self-referential"))
5454

5555
class TestBundleMutuallyRecursivePaths is UnitTest
5656
new iso create() => None
57-
fun name(): String => "stable.Bundle.mutually-recursive-paths"
57+
fun name(): String => "tack.Bundle.mutually-recursive-paths"
5858
fun apply(h: TestHelper) ? =>
5959
let bar_paths = Bundle(_Path(h.env, "mutually-recursive/bar")?)?.paths()
6060
let foo_paths = Bundle(_Path(h.env, "mutually-recursive/foo")?)?.paths()
6161

6262
h.assert_eq[USize](1, bar_paths.size())
6363
h.assert_true(bar_paths(0)?
64-
.contains("stable/test/testdata/mutually-recursive/foo"))
64+
.contains("tack/test/testdata/mutually-recursive/foo"))
6565

6666
h.assert_eq[USize](1, foo_paths.size())
6767
h.assert_true(foo_paths(0)?
68-
.contains("stable/test/testdata/mutually-recursive/bar"))
68+
.contains("tack/test/testdata/mutually-recursive/bar"))
6969

7070
primitive _Path
7171
fun apply(env: Env, relative_path: String) : FilePath ? =>
7272
FilePath(env.root as AmbientAuth,
73-
Path.join("stable/test/testdata", relative_path)
73+
Path.join("tack/test/testdata", relative_path)
7474
.string())?
7575

7676
class _BundleCreate is ITest

stable/test/test_dep.pony renamed to tack/test/test_dep.pony

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ use ".."
66

77
class TestDep is UnitTest
88
new iso create() => None
9-
fun name(): String => "stable.Dep"
9+
fun name(): String => "tack.Dep"
1010

1111
fun apply(h: TestHelper) ? =>
12-
let path = FilePath(h.env.root as AmbientAuth, "stable/test/testdata/empty-deps")?
12+
let path = FilePath(h.env.root as AmbientAuth, "tack/test/testdata/empty-deps")?
1313
let bundle = Bundle(path, LogNone, false)?
1414
var dep: DepAny
1515

File renamed without changes.

0 commit comments

Comments
 (0)