Skip to content

Commit

Permalink
Use LibCompat from "pharo-hacks"
Browse files Browse the repository at this point in the history
...instead of `Tinyrossa-Compat-Pharo`. All the code from there has been
moved to `LibCompat`.
  • Loading branch information
janvrany committed Aug 17, 2023
1 parent 432ab33 commit c0bee7b
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 103 deletions.
8 changes: 8 additions & 0 deletions pharo/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ SMALLRSP_BRANCH ?= master
$(eval $(call git-clone-local,SMALLRSP_DIR,$(SMALLRSP_URL),$(SMALLRSP_BRANCH)))
endif

ifndef PHARO_HACKS_DIR
PHARO_HACKS_DIR := ../3rdparty/pharo-hacks
PHARO_HACKS_URL ?= https://github.com/janvrany/pharo-hacks
PHARO_HACKS_BRANCH ?= master
$(eval $(call git-clone-local,PHARO_HACKS_DIR,$(PHARO_HACKS_URL),$(PHARO_HACKS_BRANCH)))
endif

build: prereq $(PROJECT).image shells
@echo ""
@echo "To open Pharo $(PROJECT) image run:"
Expand All @@ -49,6 +56,7 @@ $(PROJECT).image: ../src/*/*.st
$(call pharo-load-local, $@, MachineArithmetic,$(MACHINEARITHMETIC_DIR))
$(call pharo-load-local, $@, ArchC, $(ARCHC_DIR)/src)
$(call pharo-load-local, $@, SmallRSP, $(SMALLRSP_DIR)/src)
$(call pharo-load-local, $@, LibCompat, $(PHARO_HACKS_DIR)/src)
$(call pharo-load-local, $@, Tinyrossa, ../src)

run: build
Expand Down
13 changes: 8 additions & 5 deletions src/BaselineOfTinyrossa/BaselineOfTinyrossa.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@ BaselineOfTinyrossa >> baseline: spec [
spec repository: 'github://pharo-contributions/OSSubprocess:v1.3.0'
].

spec baseline: 'LibCompat' with: [
spec repository: 'github://janvrany/pharo-hacks'.
].

spec
package: #'Tinyrossa-Compat-Pharo' with:[
spec requires: 'OSSubprocess'.
];
package: #'Tinyrossa' with:[
spec requires: 'Tinyrossa-Compat-Pharo';
requires: 'ArchC'
"LibCompat requires OSSubprocess for its OSProcess implementation."
spec requires: 'OSSubprocess'.
spec requires: 'LibCompat'.
spec requires: 'ArchC'
];
package: #'Tinyrossa-Tests' with: [
spec requires: 'SmallRSP'.
Expand Down
7 changes: 0 additions & 7 deletions src/Tinyrossa-Compat-Pharo/Collection.extension.st

This file was deleted.

7 changes: 0 additions & 7 deletions src/Tinyrossa-Compat-Pharo/Integer.extension.st

This file was deleted.

11 changes: 0 additions & 11 deletions src/Tinyrossa-Compat-Pharo/OSPlatform.extension.st

This file was deleted.

53 changes: 0 additions & 53 deletions src/Tinyrossa-Compat-Pharo/OSProcess.class.st

This file was deleted.

7 changes: 0 additions & 7 deletions src/Tinyrossa-Compat-Pharo/Object.extension.st

This file was deleted.

12 changes: 0 additions & 12 deletions src/Tinyrossa-Compat-Pharo/UndefinedObject.extension.st

This file was deleted.

1 change: 0 additions & 1 deletion src/Tinyrossa-Compat-Pharo/package.st

This file was deleted.

0 comments on commit c0bee7b

Please sign in to comment.