Skip to content

Commit 8091cb1

Browse files
committed
Added core setup to README and improved Vagrant push error messages
1 parent a88039f commit 8091cb1

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Assuming git, [Vagrant] [vagrant-install] and [VirtualBox] [virtualbox-install]
3131
host$ vagrant up && vagrant ssh
3232
guest$ cd /vagrant
3333
guest$ sudo npm install
34+
guest$ cd core
35+
guest$ sudo npm install
3436
```
3537

3638
Set up an `./aws.json` file using the example `./aws.sample.json`. If you just want to concat + minify without uploading then you don't need to fill out the `aws.json` file with valid credentials.

vagrant/push/publish-core.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function get_core_version {
4343

4444
# Extract the version from package.json using Node and save it in a file named "VERSION"
4545
vagrant ssh -c "cd /vagrant/core && node -e \"var fs=require('fs');fs.readFile('./package.json', 'utf8', function(e,d){console.log(JSON.parse(d)['version'])});\" > VERSION" \
46-
|| die "Failed to get extract version information from package.json"
46+
|| die "Failed to extract version information from package.json"
4747
file_version=`cat core/VERSION`
4848
expected_tag="core-$file_version"
4949
tag_version=`git describe --abbrev=0 --tags`

vagrant/push/publish-tracker.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function get_version {
4343

4444
# Extract the version from package.json using Node and save it in a file named "VERSION"
4545
vagrant ssh -c "cd /vagrant && node -e \"var fs=require('fs');fs.readFile('./package.json', 'utf8', function(e,d){console.log(JSON.parse(d)['version'])});\" > VERSION" \
46-
|| die "Failed to get extract version information from package.json"
46+
|| die "Failed to extract version information from package.json"
4747
file_version=`cat VERSION`
4848
tag_version=`git describe --abbrev=0 --tags`
4949
if [ ${file_version} != ${tag_version} ] ; then

0 commit comments

Comments
 (0)