Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed obsolete gitmodule

  • Loading branch information...
commit 98dfadcec20f17d9fa0cdd43b4c1f1071ec5a6fe 1 parent 5271a3e
@mrflip mrflip authored
View
3  .gitmodules
@@ -1,6 +1,3 @@
-[submodule "git-scribe"]
- path = git-scribe
- url = https://github.com/mrflip/git-scribe.git
[submodule "data"]
path = data
url = git://github.com/infochimps-labs/wukong-example-data.git
View
8 code/munging/airline_flights/airline_flights.rake
@@ -6,15 +6,15 @@ require 'gorillib/model/serialization/csv'
require 'gorillib/type/extended'
require 'gorillib/hash/slice'
require 'gorillib/pathname'
+BOOK_ROOT = (ENV['BOOK_CONTENTS'] || File.expand_path('../../..', File.dirname(__FILE__)))
+require File.expand_path('code/munging/airline_flights/airport', BOOK_ROOT)
Settings.define :mini, type: :boolean, default: true, description: "use sample data or full data?"
Settings.resolve!
mini_slug = Settings.mini ? "-sample" : ""
-p ENV['BOOK_CONTENTS']
-
Pathname.register_paths(
- book_root: ENV['BOOK_CONTENTS'],
+ book_root: BOOK_ROOT,
code: [:book_root, 'code'],
data: [:book_root, 'data'],
work: [:book_root, 'tmp'],
@@ -40,8 +40,6 @@ def create_file(token, options={})
task(token => target)
end
-require File.expand_path('~/ics/book/big_data_for_chimps/code/munging/airline_flights/airport')
-
namespace :airports do
namespace :parse do
Please sign in to comment.
Something went wrong with that request. Please try again.