Build related fixes
This commit is contained in:
1 parent
1292fb455e
commit
2c0f38a08f
2 files changed
+12
-3
No files matched your search
@@ -56,7 +56,7 @@ set :images_dir, 'images'
|
||||
# Build-specific configuration
|
||||
configure :build do
|
||||
# For example, change the Compass output style for deployment
|
||||
activate :minify_css
|
||||
# activate :minify_css
|
||||
|
||||
# Minify Javascript on build
|
||||
activate :minify_javascript
|
||||
@@ -70,3 +70,12 @@ configure :build do
|
||||
# Or use a different image path
|
||||
# set :http_prefix, "/Content/images/"
|
||||
end
|
||||
|
||||
activate :deploy do |deploy|
|
||||
deploy.method = :git
|
||||
# Optional Settings
|
||||
# deploy.remote = 'custom-remote' # remote name or git url, default: origin
|
||||
# deploy.branch = 'custom-branch' # default: gh-pages
|
||||
# deploy.strategy = :submodule # commit strategy: can be :force_push or :submodule, default: :force_push
|
||||
# deploy.commit_message = 'custom-message' # commit message (can be empty), default: Automated commit at `timestamp` by middleman-deploy `version`
|
||||
end
|
||||
@@ -1,7 +1,7 @@
|
||||
//= require_tree .
|
||||
|
||||
angular.module('theme', [])
|
||||
.controller('ThemeController', function($scope) {
|
||||
.controller('ThemeController', ['$scope', function($scope) {
|
||||
$scope.$watch(
|
||||
function() { return $scope.theme; },
|
||||
function(theme) {
|
||||
@@ -15,4 +15,4 @@ angular.module('theme', [])
|
||||
$scope.active_presence = parts[6];
|
||||
$scope.mention_badge = parts[7];
|
||||
});
|
||||
});
|
||||
}]);
|
||||
Reference in new issue
Block a user