Class: Parcel::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/parcel/runner.rb

Class Method Summary collapse

Class Method Details

.buildObject



11
12
13
# File 'lib/parcel/runner.rb', line 11

def self.build
  exec_parcel(:build)
end

.clobberObject



19
20
21
22
# File 'lib/parcel/runner.rb', line 19

def self.clobber
  clean(Configuration.out_path)
  clean(Configuration.cache_path)
end

.installObject



3
4
5
# File 'lib/parcel/runner.rb', line 3

def self.install
  exec_with_sym(:yarn, :add, 'parcel-bundler')
end

.serveObject



15
16
17
# File 'lib/parcel/runner.rb', line 15

def self.serve
  exec_parcel(:serve)
end

.watchObject



7
8
9
# File 'lib/parcel/runner.rb', line 7

def self.watch
  exec_parcel(:watch)
end