9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/tabbyx/core/initialize.rb', line 9
def self.initialize_project
Base.create_directory("apps",ROOT_PATH)
Base.create_directory("screenshots",ROOT_PATH)
Base.create_directory("testsuites",ROOT_PATH+"features/")
if ENV['PLATFORM'] == 'android'
Base.create_directory("pages",ROOT_PATH+"features/android/")
Base.create_file("pages.rb",ROOT_PATH+"features/android/support")
end
if ENV['PLATFORM'] == 'ios'
Base.create_directory("pages",ROOT_PATH+"features/ios/")
Base.create_file("pages.rb",ROOT_PATH+"features/ios/support")
end
if ENV['PLATFORM'] == 'web'
Base.create_directory("pages",ROOT_PATH+"features/web/")
Base.create_file("pages.rb",ROOT_PATH+"features/web/support")
end
end
|