f150b31d by Nicklas Ansman Giertz

Move the build directory back to lib

1 parent e63ff384
1 require 'rubygems' 1 require 'rubygems'
2 2
3 BUILD_DIRECTORY = 'build' 3 BUILD_DIRECTORY = 'lib'
4 SRC_DIRECTORY = 'src' 4 SRC_DIRECTORY = 'src'
5 5
6 desc "build the toast-min.js files for distribution" 6 desc "build the toast-min.js files for distribution"
...@@ -14,7 +14,7 @@ task :build => :default ...@@ -14,7 +14,7 @@ task :build => :default
14 desc "removes the build directory" 14 desc "removes the build directory"
15 task :clean do 15 task :clean do
16 print_action('Removing existing build directory') do 16 print_action('Removing existing build directory') do
17 FileUtils.rm_rf('build') 17 FileUtils.rm_rf(BUILD_DIRECTORY)
18 end 18 end
19 end 19 end
20 20
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
4 <head> 4 <head>
5 <title>Rivets test suite</title> 5 <title>Rivets test suite</title>
6 6
7 <link rel="shortcut icon" type="image/png" href="lib/jasmine-1.2.0/jasmine_favicon.png"> 7 <link rel="shortcut icon" type="image/png" href="vendor/jasmine-1.2.0/jasmine_favicon.png">
8 <link rel="stylesheet" type="text/css" href="lib/jasmine-1.2.0/jasmine.css"> 8 <link rel="stylesheet" type="text/css" href="vendor/jasmine-1.2.0/jasmine.css">
9 <script type="text/javascript" src="lib/jasmine-1.2.0/jasmine.js"></script> 9 <script type="text/javascript" src="vendor/jasmine-1.2.0/jasmine.js"></script>
10 <script type="text/javascript" src="lib/jasmine-1.2.0/jasmine-html.js"></script> 10 <script type="text/javascript" src="vendor/jasmine-1.2.0/jasmine-html.js"></script>
11 11
12 <script type="text/javascript" src="build/rivets.js"></script> 12 <script type="text/javascript" src="lib/rivets.js"></script>
13 13
14 <script type="text/javascript" src="spec/matchers.js"></script> 14 <script type="text/javascript" src="spec/matchers.js"></script>
15 <script type="text/javascript" src="spec/mock.data.js"></script> 15 <script type="text/javascript" src="spec/mock.data.js"></script>
......