-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include package name in message to serializer
Because the Tonel writer needs the extra hint when there is no category whose name is equal to the package name.
- Loading branch information
Showing
10 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...ackage/SquotCypressCodeSerializer.class/instance/writeMCSnapshot.forPackageNamed.from..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Squot serialization | ||
writeMCSnapshot: aMCSnapshot forPackageNamed: aString from: anArtifact | ||
^ aMCSnapshot squotWrite: anArtifact with: self |
3 changes: 0 additions & 3 deletions
3
src/Squot.package/SquotCypressCodeSerializer.class/instance/writeMCSnapshot.from..st
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...quot.package/SquotCypressCodeSerializerTest.class/instance/testRewritePathForEmptyPath.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t.package/SquotCypressCodeSerializerTest.class/instance/testRewritePathForOrdinaryPath.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...quotCypressCodeSerializerTest.class/instance/testRewritePathWithPackageAlreadyIncluded.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Squot.package/SquotPackageShadow.class/instance/squotWrite.with..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
serializing | ||
squotWrite: anArtifact with: aSerializer | ||
^ aSerializer writeMCSnapshot: snapshot from: anArtifact | ||
^ aSerializer writeMCSnapshot: snapshot forPackageNamed: packageName from: anArtifact |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...r.class/instance/writeMCSnapshot.from..st → .../writeMCSnapshot.forPackageNamed.from..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
serializing | ||
writeMCSnapshot: aMonticelloSnapshot from: anArtifact | ||
writeMCSnapshot: aMonticelloSnapshot forPackageNamed: aString from: anArtifact | ||
(TonelWriterForFileSystem on: directory parent "the writer creates the package directory") | ||
packageName: aString; | ||
writeSnapshot: aMonticelloSnapshot. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters