cake 0.4.8 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/cake +5 -4
- data/lib/bake.jar +0 -0
- data/lib/cake.jar +0 -0
- metadata +3 -3
data/bin/cake
CHANGED
|
@@ -731,19 +731,20 @@ if debug?
|
|
|
731
731
|
end
|
|
732
732
|
|
|
733
733
|
# Bootstrap cake dependencies.
|
|
734
|
-
lib
|
|
735
|
-
|
|
734
|
+
lib = "#{$cakedir}/lib"
|
|
735
|
+
project = "#{$cakedir}/project.clj"
|
|
736
|
+
|
|
737
|
+
if File.exists?("#{$cakedir}/.gitignore") and File.exists?(project)
|
|
736
738
|
log(:cake, "running from git checkout") if verbose?
|
|
737
739
|
if $command == :upgrade
|
|
738
740
|
log(:upgrade, "pulling latest code from git")
|
|
739
741
|
system('git pull')
|
|
740
742
|
end
|
|
741
743
|
|
|
742
|
-
project = "#{$cakedir}/project.clj"
|
|
743
744
|
$version = IO.read(project).split("\n").first.match(/defproject cake \"(.*)\"/)[1]
|
|
744
745
|
log(:deps, "project.clj version is #{$version}") if debug?
|
|
745
746
|
|
|
746
|
-
FileUtils.remove_dir(
|
|
747
|
+
FileUtils.remove_dir(lib, true) if newer?(project, lib)
|
|
747
748
|
if Dir["#{lib}/*.jar"].empty? or Dir["#{lib}/dev/*.jar"].empty?
|
|
748
749
|
# In a new git checkout, need to fetch dependencies.
|
|
749
750
|
begin
|
data/lib/bake.jar
CHANGED
|
Binary file
|
data/lib/cake.jar
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cake
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 29
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 0.4.
|
|
9
|
+
- 9
|
|
10
|
+
version: 0.4.9
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Justin Balthrop
|