nali 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nali/application.rb +1 -1
- data/lib/nali/tasks.rb +1 -4
- data/lib/nali/version.rb +1 -1
- metadata +1 -1
data/lib/nali/application.rb
CHANGED
@@ -25,7 +25,7 @@ module Nali
|
|
25
25
|
client.append_path File.join( Nali.path, 'client/javascripts' )
|
26
26
|
|
27
27
|
%w( app/client/templates app/client/stylesheets app/client/javascripts lib/client/stylesheets
|
28
|
-
lib/client/javascripts
|
28
|
+
lib/client/javascripts vendor/client/stylesheets vendor/client/javascripts
|
29
29
|
).each { |path| client.append_path File.join( root, path ) }
|
30
30
|
|
31
31
|
Sprockets::Helpers.configure do |config|
|
data/lib/nali/tasks.rb
CHANGED
@@ -35,10 +35,7 @@ module Nali
|
|
35
35
|
|
36
36
|
desc 'Remove compiled client files'
|
37
37
|
task :clean do
|
38
|
-
|
39
|
-
Dir[ compiled_path + '/*' ]
|
40
|
-
.select { |file| file =~ /(application|manifest).*?\.(js|css|json)/ }
|
41
|
-
.each { |file| File.delete file }
|
38
|
+
FileUtils.rm_rf File.join( @settings.public_folder, 'client' )
|
42
39
|
index = File.join( @settings.public_folder, 'index.html' )
|
43
40
|
File.delete( index ) if File.exists?( index )
|
44
41
|
puts 'Compiled client files removed'
|
data/lib/nali/version.rb
CHANGED