rake_circle_ci 0.8.0.pre.1 → 0.8.0.pre.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9cd1f896b2eb3735ab4ad8b50782091d2fa529936b9353a1cf9d7985672fbdb6
4
- data.tar.gz: c73e650e742ebb4ea705a94d47c767e7ddbc118b9087b302906bcd66060a4884
3
+ metadata.gz: e25f04879cfd54fe6636b6d5e6c02a7e8d4a24e1c4a33b237bd2cef63a6773e6
4
+ data.tar.gz: 5809ed4521ee434e801b3a6b0a19e73c2e0e78e59a0bc79ebd09443943f0d07d
5
5
  SHA512:
6
- metadata.gz: bbd0eccb71e56da155d4f23e83ba67af9a87caf25bc550e62c1ed347a78aa0a46bfe5139b476997d5f163ba7f70d6959c414fbf5f60d5504c94b427d112d05d5
7
- data.tar.gz: b9316c8631cc4203a1f4b68809214b5d648c065103df131776739362042746948314b648e6a49b4fe5c2dee99291f071a4178da647c06644e52bd3a0d209791b
6
+ metadata.gz: cdab073fef4a1ebd3a81a4e70a21bf8fb4451c2b9ade3df25eea4471bd6f8c680148ee2c9fb93d807e2f10be12af47c0b483e536fc3abfd17374b46753c1f9f3
7
+ data.tar.gz: dcc84945aa915b1f8d2664d683a1640191e5dbd2c4af75ac0e39fe9121ddca67a89162d1ffc5b462298e9f27d139a672ce958e809f18af9aeca6ceacf32e5081
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rake_circle_ci (0.8.0.pre.1)
4
+ rake_circle_ci (0.8.0.pre.2)
5
5
  colored2 (~> 3.1)
6
6
  excon (~> 0.72)
7
7
  rake_factory (~> 0.23)
@@ -25,14 +25,20 @@ GEM
25
25
  faraday (1.0.1)
26
26
  multipart-post (>= 1.2, < 3)
27
27
  gem-release (2.1.1)
28
+ hamster (3.0.0)
29
+ concurrent-ruby (~> 1.0)
28
30
  i18n (1.8.2)
29
31
  concurrent-ruby (~> 1.0)
32
+ lino (1.5.0)
33
+ hamster (~> 3.0)
34
+ open4 (~> 1.3)
30
35
  memfs (1.0.0)
31
36
  minitest (5.14.1)
32
37
  multipart-post (2.1.1)
33
38
  octokit (4.18.0)
34
39
  faraday (>= 0.9)
35
40
  sawyer (~> 0.8.0, >= 0.5.3)
41
+ open4 (1.3.4)
36
42
  public_suffix (4.0.5)
37
43
  rake (13.0.1)
38
44
  rake_factory (0.27.0)
@@ -43,6 +49,9 @@ GEM
43
49
  octokit (~> 4.16)
44
50
  rake_factory (~> 0.23)
45
51
  sshkey (~> 2.0)
52
+ rake_gpg (0.12.0)
53
+ rake_factory (>= 0.23, < 1)
54
+ ruby_gpg2 (>= 0.6, < 1)
46
55
  rake_ssh (0.4.0)
47
56
  colored2 (~> 3.1)
48
57
  rake_factory (~> 0.23)
@@ -60,6 +69,8 @@ GEM
60
69
  diff-lcs (>= 1.2.0, < 2.0)
61
70
  rspec-support (~> 3.9.0)
62
71
  rspec-support (3.9.3)
72
+ ruby_gpg2 (0.6.0)
73
+ lino (>= 1.5)
63
74
  sawyer (0.8.2)
64
75
  addressable (>= 2.3.5)
65
76
  faraday (> 0.8, < 2.0)
@@ -83,9 +94,10 @@ DEPENDENCIES
83
94
  rake (~> 13.0)
84
95
  rake_circle_ci!
85
96
  rake_github (~> 0.3)
97
+ rake_gpg (~> 0.12)
86
98
  rake_ssh (~> 0.2)
87
99
  rspec (~> 3.9)
88
100
  simplecov (~> 0.16)
89
101
 
90
102
  BUNDLED WITH
91
- 2.1.4
103
+ 2.2.3
data/Rakefile CHANGED
@@ -2,17 +2,40 @@ require 'yaml'
2
2
  require 'rake_circle_ci'
3
3
  require 'rake_github'
4
4
  require 'rake_ssh'
5
+ require 'rake_gpg'
6
+ require 'securerandom'
5
7
  require 'rspec/core/rake_task'
6
8
 
7
9
  task :default => :spec
8
10
 
9
11
  RSpec::Core::RakeTask.new(:spec)
10
12
 
11
- RakeSSH.define_key_tasks(
12
- namespace: :deploy_key,
13
- path: 'config/secrets/ci/',
14
- comment: 'maintainers@infrablocks.io'
15
- )
13
+ namespace :encryption do
14
+ namespace :passphrase do
15
+ task :generate do
16
+ File.open('config/secrets/ci/encryption.passphrase', 'w') do |f|
17
+ f.write(SecureRandom.base64(36))
18
+ end
19
+ end
20
+ end
21
+ end
22
+
23
+ namespace :keys do
24
+ namespace :deploy do
25
+ RakeSSH.define_key_tasks(
26
+ path: 'config/secrets/ci/',
27
+ comment: 'maintainers@infrablocks.io')
28
+ end
29
+
30
+ namespace :gpg do
31
+ RakeGPG.define_generate_key_task(
32
+ output_directory: 'config/secrets/ci',
33
+ name_prefix: 'gpg',
34
+ owner_name: 'InfraBlocks Maintainers',
35
+ owner_email: 'maintainers@infrablocks.io',
36
+ owner_comment: 'rake_circle_ci CI Key')
37
+ end
38
+ end
16
39
 
17
40
  RakeCircleCI.define_project_tasks(
18
41
  namespace: :circle_ci,
@@ -53,6 +76,7 @@ end
53
76
 
54
77
  namespace :pipeline do
55
78
  task :prepare => [
79
+ :'circle_ci:project:follow',
56
80
  :'circle_ci:env_vars:ensure',
57
81
  :'circle_ci:ssh_keys:ensure',
58
82
  :'github:deploy_keys:ensure'
@@ -1,3 +1,3 @@
1
1
  module RakeCircleCI
2
- VERSION = '0.8.0.pre.1'
2
+ VERSION = '0.8.0.pre.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_circle_ci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0.pre.1
4
+ version: 0.8.0.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toby Clemson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-25 00:00:00.000000000 Z
11
+ date: 2020-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake_factory
@@ -136,6 +136,20 @@ dependencies:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0.2'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rake_gpg
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.12'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.12'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: rspec
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -213,16 +227,6 @@ executables: []
213
227
  extensions: []
214
228
  extra_rdoc_files: []
215
229
  files:
216
- - ".circleci/config.yml"
217
- - ".circleci/gpg.private.enc"
218
- - ".envrc"
219
- - ".git-crypt/.gitattributes"
220
- - ".git-crypt/keys/default/0/41D2606F66C3FF28874362B61A16916844CE9D82.gpg"
221
- - ".git-crypt/keys/default/0/AAE932B730C2BA697FFDFAE05DA390873E38358B.gpg"
222
- - ".gitattributes"
223
- - ".gitignore"
224
- - ".rspec"
225
- - ".ruby-version"
226
230
  - CODE_OF_CONDUCT.md
227
231
  - Gemfile
228
232
  - Gemfile.lock
@@ -231,16 +235,6 @@ files:
231
235
  - Rakefile
232
236
  - bin/console
233
237
  - bin/setup
234
- - config/secrets/.unlocked
235
- - config/secrets/ci/encryption.passphrase
236
- - config/secrets/ci/gpg.private
237
- - config/secrets/ci/gpg.public
238
- - config/secrets/ci/ssh.private
239
- - config/secrets/ci/ssh.public
240
- - config/secrets/circle_ci/config.yaml
241
- - config/secrets/github/config.yaml
242
- - config/secrets/rubygems/credentials
243
- - go
244
238
  - lib/rake_circle_ci.rb
245
239
  - lib/rake_circle_ci/client.rb
246
240
  - lib/rake_circle_ci/task_sets.rb
@@ -259,14 +253,6 @@ files:
259
253
  - lib/rake_circle_ci/tasks/ssh_keys/ensure.rb
260
254
  - lib/rake_circle_ci/tasks/ssh_keys/provision.rb
261
255
  - lib/rake_circle_ci/version.rb
262
- - rake_circle_ci.gemspec
263
- - scripts/ci/common/configure-git.sh
264
- - scripts/ci/common/configure-rubygems.sh
265
- - scripts/ci/common/install-git-crypt.sh
266
- - scripts/ci/common/install-gpg-key.sh
267
- - scripts/ci/steps/prerelease.sh
268
- - scripts/ci/steps/release.sh
269
- - scripts/ci/steps/test.sh
270
256
  homepage: https://github.com/infrablocks/rake_circle_ci
271
257
  licenses:
272
258
  - MIT
@@ -1,56 +0,0 @@
1
- version: 2.1
2
- jobs:
3
- test:
4
- working_directory: ~/rake-circle-ci
5
- docker:
6
- - image: ruby:2.6.0
7
- steps:
8
- - checkout
9
- - run: ./scripts/ci/steps/test.sh
10
- prerelease:
11
- working_directory: ~/rake-circle-ci
12
- docker:
13
- - image: ruby:2.6.0
14
- steps:
15
- - checkout
16
- - run: ./scripts/ci/common/install-git-crypt.sh
17
- - run: ./scripts/ci/common/install-gpg-key.sh
18
- - run: ./scripts/ci/common/configure-git.sh
19
- - run: ./scripts/ci/common/configure-rubygems.sh
20
- - run: ./scripts/ci/steps/prerelease.sh
21
- release:
22
- working_directory: ~/rake-circle-ci
23
- docker:
24
- - image: ruby:2.6.0
25
- steps:
26
- - checkout
27
- - run: ./scripts/ci/common/install-git-crypt.sh
28
- - run: ./scripts/ci/common/install-gpg-key.sh
29
- - run: ./scripts/ci/common/configure-git.sh
30
- - run: ./scripts/ci/common/configure-rubygems.sh
31
- - run: ./scripts/ci/steps/release.sh
32
-
33
- workflows:
34
- version: 2
35
- pipeline:
36
- jobs:
37
- - test
38
- - prerelease:
39
- requires:
40
- - test
41
- filters:
42
- branches:
43
- only: master
44
- - hold:
45
- type: approval
46
- requires:
47
- - prerelease
48
- filters:
49
- branches:
50
- only: master
51
- - release:
52
- requires:
53
- - hold
54
- filters:
55
- branches:
56
- only: master
Binary file
data/.envrc DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- PROJECT_DIR="$(pwd)"
4
-
5
- PATH_add ${PROJECT_DIR}
@@ -1,4 +0,0 @@
1
- # Do not edit this file. To specify the files to encrypt, create your own
2
- # .gitattributes file in the directory where your files are.
3
- * !filter !diff
4
- *.gpg binary
@@ -1 +0,0 @@
1
- config/secrets/** filter=git-crypt diff=git-crypt
data/.gitignore DELETED
@@ -1,33 +0,0 @@
1
- ## Standard stuff:
2
- *.gem
3
- *.rbc
4
- /build
5
- /.config
6
- /coverage/
7
- /InstalledFiles
8
- /pkg/
9
- .rspec_status
10
- /spec/reports/
11
- /spec/examples.txt
12
- /test/tmp/
13
- /test/version_tmp/
14
- /tmp/
15
- .rakeTasks
16
-
17
- ## Documentation cache and generated files:
18
- /.yardoc/
19
- /_yardoc/
20
- /doc/
21
- /rdoc/
22
- /coverage/
23
-
24
- ## Environment normalization:
25
- /.bundle/
26
- /vendor/bundle
27
- /lib/bundler/man/
28
-
29
- ## IDE:
30
- .idea
31
- *.ipr
32
- *.iws
33
- *.iml
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
@@ -1 +0,0 @@
1
- 2.6.0
@@ -1 +0,0 @@
1
- true
@@ -1 +0,0 @@
1
- fmFsBRd0haxdPyYDNZkgDHojaZ3MgWg5DFZKrzJtQCVdehpX
@@ -1,58 +0,0 @@
1
- -----BEGIN PGP PRIVATE KEY BLOCK-----
2
-
3
- lQOYBF5iajgBCADpMbSEz+Fl4HgUxXQLTuIi01QMf/dkwVDuwNrPdVtkKKi27RS5
4
- OOiJYYzHkSqJwdbrMf1R/Uj1S4D4zP9BPc9VmKm1tPRnk4rrhpJPE9jR9X/6RTw3
5
- ilIqelK84WfR74yAbaQYtEF3YEOhWSCvwsf3jQuE8LBMGh+Zf8DlYeH5wBvIIF5x
6
- y0GDktvq5+dr/szqi8rMCz3MdiouUDbyWmMKwjmegSLzS/kf8dgiEg7iChVYNSAT
7
- SBqxRZCWADiO61vzTO8YlZj4ke+S7Lkg/d4lafVJ3Bsw89K7F79+mIZaBU1oon8v
8
- y+AM7QAK6kGgb50vsS9QYRtYqZzK0DsaLNhVAB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SA PRIVATE KEY-----
@@ -1 +0,0 @@
1
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDT1lpUwXwiAlPVbLNcB+zh6+lyWcqokmpbClzmkxSyqEmg9kNpWyYB+XHfDzWB+VInN6GDkw26eYGFIp4utEk8ut3lMNVxZQ7N94vfExO7wVJyF9wSgNEKnTQW/vOtcT5QOnIdGrcR91df/eRCXEF1NH6WAOuTPOwAlepe04AvYasSUl4O9VZi1p6hs4/2ljSQa5nwBLA3PWUGAHWt8Dhi5A7/ndO8Apu9iaDuXodgXzM8OyHwY32iFQT1e4zfaE2F3aWNKxNJygrfxY6o8FpGkKdIGfjcVkrXcxo6N7vKuc2WOPpLM9t4d+2Rzcj1PAK7oFNztq9K2gNBj0IrNHQfwlHT9n2Q1bZUXA4CwZ9H4CXjdIopEuA9XtGhpwLyGxF+rgWsJJj4Ri1iivUgcBynTuT6oB2igNHD5FIPPzw6poE10jAn/COEhK1kAqu+GwPLaHRqmpYwTn5dsjE+8kfeltPD/qWopkSyQhXQPr+JJQHN934c002bzaRdbiHkvR7bdGHTbOw3uqa+bdSl2pkJgrUvOJZLvUVQeVqRh3GQpsN3NeO6tz+x0zAGMxPfXqABK4nQJ3GLSXhEW/ZfyLkFADWMaP6sWRIxIrq4B1VWWdAwkgFazH+1xCMrQlI7zYi5YpTdJ3ZF0L4POwLwW9FJDuSOCm7JD35HHS7l2Y+/TQ== maintainers@infrablocks.io
@@ -1,2 +0,0 @@
1
- ---
2
- circle_ci_api_token: "27393e98772c1342785957a776ca4acbaea7f7cb"
@@ -1,2 +0,0 @@
1
- ---
2
- github_personal_access_token: "6deebdb15c371069618942f48acd76f35880ebb5"
@@ -1,2 +0,0 @@
1
- ---
2
- :rubygems_api_key: bd53d6202bc5ec5d4c51dd2b245f2f14
data/go DELETED
@@ -1,56 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$GO_DEBUG" ] && set -x
4
- set -e
5
-
6
- project_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
7
-
8
- verbose="no"
9
- skip_checks="no"
10
- offline="no"
11
-
12
- missing_dependency="no"
13
-
14
- [ -n "$GO_DEBUG" ] && verbose="yes"
15
- [ -n "$GO_SKIP_CHECKS" ] && skip_checks="yes"
16
- [ -n "$GO_OFFLINE" ] && offline="yes"
17
-
18
-
19
- if [[ "$skip_checks" = "no" ]]; then
20
- echo "Checking for system dependencies."
21
- ruby_version="$(cat "$project_dir"/.ruby-version)"
22
- if ! type ruby >/dev/null 2>&1 || ! ruby -v | grep -q "$ruby_version"; then
23
- echo "This codebase requires Ruby $ruby_version."
24
- missing_dependency="yes"
25
- fi
26
-
27
- if [[ "$missing_dependency" = "yes" ]]; then
28
- echo "Please install missing dependencies to continue."
29
- exit 1
30
- fi
31
-
32
- echo "All system dependencies present. Continuing."
33
- fi
34
-
35
- if [[ "$offline" = "no" ]]; then
36
- echo "Installing bundler."
37
- if [[ "$verbose" = "yes" ]]; then
38
- gem install --no-document bundler
39
- else
40
- gem install --no-document bundler --silent
41
- fi
42
-
43
- echo "Installing ruby dependencies."
44
- if [[ "$verbose" = "yes" ]]; then
45
- bundle install
46
- else
47
- bundle install --quiet
48
- fi
49
- fi
50
-
51
- echo "Starting rake."
52
- if [[ "$verbose" = "yes" ]]; then
53
- time bundle exec rake --verbose "$@"
54
- else
55
- time bundle exec rake "$@"
56
- fi
@@ -1,41 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'rake_circle_ci/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'rake_circle_ci'
8
- spec.version = RakeCircleCI::VERSION
9
- spec.authors = ['Toby Clemson']
10
- spec.email = ['tobyclemson@gmail.com']
11
-
12
- spec.summary = 'Rake tasks for CircleCI projects.'
13
- spec.description = 'Allows managing environment variables and SSH keys.'
14
- spec.homepage = "https://github.com/infrablocks/rake_circle_ci"
15
- spec.license = 'MIT'
16
-
17
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
- f.match(%r{^(test|spec|features)/})
19
- end
20
- spec.bindir = 'exe'
21
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
- spec.require_paths = ['lib']
23
-
24
- spec.required_ruby_version = '>= 2.6'
25
-
26
- spec.add_dependency 'rake_factory', '~> 0.23'
27
- spec.add_dependency 'excon', '~> 0.72'
28
- spec.add_dependency 'sshkey', '~> 2.0'
29
- spec.add_dependency 'colored2', '~> 3.1'
30
-
31
- spec.add_development_dependency 'bundler', '~> 2.0'
32
- spec.add_development_dependency 'rake', '~> 13.0'
33
- spec.add_development_dependency 'rake_circle_ci', '~> 0.3'
34
- spec.add_development_dependency 'rake_github', '~> 0.3'
35
- spec.add_development_dependency 'rake_ssh', '~> 0.2'
36
- spec.add_development_dependency 'rspec', '~> 3.9'
37
- spec.add_development_dependency 'gem-release', '~> 2.0'
38
- spec.add_development_dependency 'activesupport', '~> 5.2'
39
- spec.add_development_dependency 'memfs', '~> 1.0'
40
- spec.add_development_dependency 'simplecov', '~> 0.16'
41
- end
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- git config --global user.email "circleci@infrablocks.io"
8
- git config --global user.name "Circle CI"
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
9
-
10
- cd "$PROJECT_DIR"
11
-
12
- git crypt unlock
13
-
14
- mkdir -p ~/.gem
15
- cp config/secrets/rubygems/credentials ~/.gem/credentials
16
- chmod 0600 ~/.gem/credentials
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- apt-get update
8
- apt-get install -y --no-install-recommends git ssh git-crypt
@@ -1,19 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
9
-
10
- cd "$PROJECT_DIR"
11
-
12
- set +e
13
- openssl version
14
- openssl aes-256-cbc \
15
- -d \
16
- -md sha1 \
17
- -in ./.circleci/gpg.private.enc \
18
- -k "${ENCRYPTION_PASSPHRASE}" | gpg --import -
19
- set -e
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
9
-
10
- cd "$PROJECT_DIR"
11
-
12
- ./go version:bump[pre]
13
- ./go release
14
-
15
- git status
16
- git push
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
9
-
10
- cd "$PROJECT_DIR"
11
-
12
- git pull
13
-
14
- ./go version:bump[minor]
15
- ./go release
16
-
17
- git status
18
- git push
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- [ -n "$DEBUG" ] && set -x
4
- set -e
5
- set -o pipefail
6
-
7
- SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- PROJECT_DIR="$( cd "$SCRIPT_DIR/../../.." && pwd )"
9
-
10
- cd "$PROJECT_DIR"
11
-
12
- ./go spec