10 lines
502 B
Ruby
10 lines
502 B
Ruby
#!/usr/bin/env ruby
|
|
require 'pathname'
|
|
require 'active_support/all'
|
|
# rm log/test.log && rm -rf tmp/capybara/* && ./bin/test_prepare && touch public/user/cordova.js && rspec spec/acceptance/users/sign_up.feature:15
|
|
mozo_user_path = ENV['MOZO_USER_PATH'] || Pathname.new(File.expand_path('../../../mozo-user', __FILE__))
|
|
Dir.chdir mozo_user_path do
|
|
`ember build --output-path=../backend/public/user/ --environment=testexport` # not production, because then the production servers will be queried
|
|
end
|
|
|