summaryrefslogtreecommitdiff
path: root/features/package.feature
diff options
context:
space:
mode:
authorLuis Lavena <luislavena@gmail.com>2008-11-25 15:15:49 -0200
committerLuis Lavena <luislavena@gmail.com>2008-11-25 15:15:49 -0200
commit7509287b98c0aed61b7bedfa4adcc1a3302d5493 (patch)
tree5e7bc295c1714f4d661228c43edab9b8180c0e85 /features/package.feature
parent58713f2b396435e1d48aa2e7fbd8b684feb0ef58 (diff)
downloadrake-compiler-7509287b98c0aed61b7bedfa4adcc1a3302d5493.tar.gz
Updated Features (forgot to commit)
Allowed packaging of gems with different platforms than CURRENT opens the door for cross compilation. Splitted some steps and some pending stuff from file generators. TODO: move everything out of global namaspace!
Diffstat (limited to 'features/package.feature')
-rw-r--r--features/package.feature12
1 files changed, 12 insertions, 0 deletions
diff --git a/features/package.feature b/features/package.feature
index 2cc613d..66934d3 100644
--- a/features/package.feature
+++ b/features/package.feature
@@ -26,3 +26,15 @@ Feature: Distribute native extension with gems
And 'pkg' folder is created
And ruby gem for 'my_project' version '0.1.0' do exist in 'pkg'
And binary gem for 'my_project' version '0.1.0' do exist in 'pkg'
+
+ Scenario: generate forced native gem
+ Given a safe project directory
+ And a gem named 'my_project'
+ And a extension 'extension_one' with forced platform 'universal-unknown'
+ And I've already successfully executed rake task 'compile'
+ And 'pkg' folder is deleted
+ When rake task 'native gem' is invoked
+ Then rake task 'native gem' succeeded
+ And 'pkg' folder is created
+ And ruby gem for 'my_project' version '0.1.0' do exist in 'pkg'
+ And a gem for 'my_project' version '0.1.0' platform 'universal-unknown' do exist in 'pkg'