Sha256: 24d3cef54808dc444acbb318555d8274651234c2307dd45a86ac2da2f765d164

Contents?: true

Size: 411 Bytes

Versions: 21

Compression:

Stored size: 411 Bytes

Contents

#!/usr/bin/env ruby

YMDP_ROOT = "."
APP_DIR = "#{YMDP_ROOT}/app"
ASSETS_DIR = "#{APP_DIR}/assets"
VIEWS_DIR = "#{APP_DIR}/views"
JAVASCRIPTS_DIR = "#{APP_DIR}/javascripts"
STYLESHEETS_DIR = "#{APP_DIR}/stylesheets"

@view = ARGV[0]

puts "Destroying #{@view} view..."

system "git rm #{VIEWS_DIR}/#{@view}.html*"

system "git rm #{JAVASCRIPTS_DIR}/#{@view}.js"

system "git rm #{STYLESHEETS_DIR}/#{@view}.css"

Version data entries

21 entries across 16 versions & 1 rubygems

Version Path
ymdp-0.1.4 spec/data/script/destroy
ymdp-0.1.4 lib/new_application/script/destroy
ymdp-0.1.3.2 spec/data/script/destroy
ymdp-0.1.3.2 lib/new_application/script/destroy
ymdp-0.1.3.1 lib/new_application/script/destroy
ymdp-0.1.3.1 spec/data/script/destroy
ymdp-0.1.3 spec/data/script/destroy
ymdp-0.1.3 lib/new_application/script/destroy
ymdp-0.1.1 spec/data/script/destroy
ymdp-0.1.1 lib/new_application/script/destroy
ymdp-0.1.0 lib/new_application/script/destroy
ymdp-0.0.17 lib/new_application/script/destroy
ymdp-0.0.16 lib/new_application/script/destroy
ymdp-0.0.15 lib/new_application/script/destroy
ymdp-0.0.14 lib/new_application/script/destroy
ymdp-0.0.13 lib/new_application/script/destroy
ymdp-0.0.12 lib/new_application/script/destroy
ymdp-0.0.11 lib/new_application/script/destroy
ymdp-0.0.10 lib/new_application/script/destroy
ymdp-0.0.9 lib/new_application/script/destroy