File tree 1 file changed +11
-4
lines changed 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ task 'update' do
42
42
system ( "cd bootstrap-wysihtml5 && git pull && cd .." )
43
43
else
44
44
system ( "git clone git://github.com/jhollingworth/bootstrap-wysihtml5.git bootstrap-wysihtml5" )
45
- system ( "cd bootstrap-wysihtml5 && git remote add b3 [email protected] :artillery/bootstrap-wysihtml5.git" )
46
- system ( "cd bootstrap-wysihtml5 && git fetch b3" )
47
- system ( "cd bootstrap-wysihtml5 && git checkout -b tb3 b3/master" )
45
+ # system("cd bootstrap-wysihtml5 && git remote add b3 [email protected] :artillery/bootstrap-wysihtml5.git")
46
+ # system("cd bootstrap-wysihtml5 && git fetch b3")
47
+ # system("cd bootstrap-wysihtml5 && git checkout -b tb3 b3/master")
48
48
end
49
49
50
50
Dir . foreach ( "bootstrap-wysihtml5/src/locales" ) do |file |
@@ -58,7 +58,14 @@ task 'update' do
58
58
system ( "cp #{ ORIGIN_LIB_PATH } /css/wysiwyg-color.css #{ DEST_CSS_PATH } /wysiwyg-color.css" )
59
59
60
60
b2
61
- b3
61
+ # b3
62
+
63
+ # ["#{DEST_JAVASCRIPT_PATH}/core.js.erb", "#{DEST_JAVASCRIPT_PATH}/core-b3.js.erb"].each do |file|
64
+ [ "#{ DEST_JAVASCRIPT_PATH } /core.js.erb" ] . each do |file |
65
+ initial = File . read ( file )
66
+ initial = "//= depend_on_asset \" bootstrap-wysihtml5/wysiwyg-color.css\" \n \n " + initial
67
+ File . write ( file , initial )
68
+ end
62
69
63
70
system ( "git status" )
64
71
end
You can’t perform that action at this time.
0 commit comments