mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 18:46:08 +08:00
added dist files to ignore file and updated Thorfile. Dist files should no longer be checked into the repo
This commit is contained in:
parent
fb1186883a
commit
9c1f32d341
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
.project
|
||||
jsdoc-toolkit
|
||||
dist
|
||||
|
9
Thorfile
9
Thorfile
@ -8,9 +8,16 @@ class Build < Thor
|
||||
"src/Animation.js", "src/Node.js", "src/DragAndDrop.js", "src/Transition.js", "src/Container.js", "src/Stage.js", "src/Layer.js", "src/Group.js", "src/Shape.js",
|
||||
"src/shapes/Rect.js", "src/shapes/Circle.js", "src/shapes/Ellipse.js", "src/shapes/Image.js", "src/shapes/Polygon.js", "src/shapes/Text.js", "src/shapes/Line.js", "src/shapes/Sprite.js", "src/shapes/Star.js", "src/shapes/RegularPolygon.js", "src/shapes/Path.js", "src/shapes/TextPath.js"
|
||||
]
|
||||
|
||||
|
||||
if !File.directory?("dist")
|
||||
puts ":: Creating dist directory..."
|
||||
Dir.mkdir("dist")
|
||||
end
|
||||
|
||||
desc "dev", "Concatenate all the js files into /dist/kinetic-VERSION.js."
|
||||
def dev(version)
|
||||
|
||||
|
||||
file_name = "dist/kinetic-#{version}.js"
|
||||
|
||||
puts ":: Deleting other development files..."
|
||||
|
Loading…
Reference in New Issue
Block a user