soaring 0.1.5 → 0.1.6
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.
- checksums.yaml +4 -4
- data/lib/soaring/packager.rb +2 -2
- data/lib/soaring/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15b366d661c69282a11874bdc802f9b8b640d73c
|
4
|
+
data.tar.gz: c5ebda0c61add3a28ba342928e43ce1f63306ec6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58ac60270d7d4796b86661a5b856733d80dcb38356577018aa21a586761f4cfca252897ef4e3405b1a23776fa98f0102424a54448dec9e587b6332585ce9725e
|
7
|
+
data.tar.gz: 433a0a02a5e0a520183b416be10904560bb9184ca885b8989ced2e8168909afba00d0117bbaf61756e54fe4cd78204badc39ba3c6fe0d4b3c0a8df85d610743c
|
data/lib/soaring/packager.rb
CHANGED
@@ -5,6 +5,7 @@ module Soaring
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def package(project_folder)
|
8
|
+
validate_project if not @options[:ignore_git_checks]
|
8
9
|
build_output_location = generate_build_output_location(project_folder)
|
9
10
|
`mkdir -p #{project_folder}/build`
|
10
11
|
`zip -r #{build_output_location} * .ebextensions -x build -x config/environment.yml`
|
@@ -14,8 +15,7 @@ module Soaring
|
|
14
15
|
private
|
15
16
|
|
16
17
|
def validate_project
|
17
|
-
|
18
|
-
if (not is_git_repo_up_to_date?) and (not @options[:ignore_git_checks])
|
18
|
+
if not is_git_repo_up_to_date?
|
19
19
|
puts "Local git repo is dirty and should not be packaged"
|
20
20
|
exit 1
|
21
21
|
end
|
data/lib/soaring/version.rb
CHANGED