Create extra archives with pre-build stc and librun
These archives can be used to rebuild Smalltalk/X environment (or standalone
application) without a need for stc and librun sources (which are not
disclosed as of now).
task :'install' => [ :'compile',
:'install:pre',
:'install:main',
:'install:post' ]
namespace :'install' do
task :'pre'
task :'post'
task :'main'
end
task :'artifacts' => [ :'install',
:'artifacts:pre',
:'artifacts:main',
:'artifacts:post' ]
namespace :'artifacts' do
task :'pre'
task :'post'
task :'main' => :'setup' do
if File.exist? ARTIFACTS_DIR / BUILD_NAME then
zip ARTIFACTS_DIR / BUILD_NAME, remove: true
end
end
end