forked from nitrogen/nitrogen
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: CHANGELOG.markdown Makefile rel/overlay/yaws/etc/yaws.conf
- Loading branch information
Showing
14 changed files
with
121 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ coverage | |
.hgignore | ||
*.beam | ||
rel/nitrogen | ||
deps/ | ||
TAGS | ||
builds | ||
Quickstart/static/nitrogen | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
language: erlang | ||
script: "make travis" | ||
otp_release: | ||
- R16B02 | ||
- R16B01 | ||
- R16B | ||
- R15B02 | ||
- R15B01 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
RUNNER_SCRIPT_DIR=$(cd ${0%/*} && pwd) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env bash | ||
|
||
## SCRIPT TO FIX SLIM RELEASES | ||
|
||
## This script is a nasty bit of hackery. Basically, instead of doing any kind | ||
## of analysis, it solves the "erlang version mismatch" between a generated slim | ||
## release and the installed erlang version. Rather than using a scalpel and | ||
## carefully upgrading scripts and regenerating the boot files, it activates | ||
## "HULK SMASH MODE" to solve this problem: | ||
|
||
## 1) It removes the releases directory | ||
## 2) it clones nitrogen into /tmp | ||
## 3) it generates a slim_release in /tmp/nitrogen/rel/nitrogen | ||
## 4) It moves the newly generated releases directory into our project's directory | ||
|
||
## This is as inelegant as can possibly be done, but it works. | ||
|
||
|
||
# so we can get back | ||
home=`pwd` | ||
|
||
# nasty: clone nitrogen and generate a slim release using the current version | ||
# of erlang so we can just copy the releases directory. A little embarrassingly | ||
# stupid. | ||
mkdir -p /tmp/nitrogen | ||
cd /tmp | ||
git clone git://github.com/nitrogen/nitrogen | ||
cd nitrogen | ||
## The generated release doesn't need anything more, and slim_inets has the | ||
## fewest dependencies to build and fetch (since dependencies don't do anything | ||
## for our releases directory anyway) | ||
make slim_inets | ||
|
||
# back to project dir | ||
cd $home | ||
rm -fr releases | ||
mv /tmp/nitrogen/rel/nitrogen/releases . | ||
|
||
# clean up | ||
rm -fr /tmp/nitrogen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
%% vim: ts=4 sw=4 et ft=erlang | ||
|
||
{sys, [ | ||
{rel, "nitrogen", "2.2.1", | ||
{rel, "nitrogen", "2.2.2", | ||
[ | ||
kernel, | ||
stdlib, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%% vim: ts=4 sw=4 et ft=erlang | ||
{overlay, [ | ||
%% Copy slim-release-specific files | ||
{copy, "./overlay/slim/*"} | ||
]}. |