Skip to content

Commit

Permalink
flash storage works again, take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
erosson committed Jan 6, 2017
1 parent c35287d commit 1b7f9ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 19 deletions.
23 changes: 4 additions & 19 deletions Gruntfile.js
Expand Up @@ -203,21 +203,6 @@ module.exports = function (grunt) {
preloadSpreadsheet: {
'v0.2': 'https://docs.google.com/spreadsheets/d/1ughCy983eK-SPIcDYPsjOitVZzY10WdI2MGGrmxzxF4/pubhtml',
},
//mxmlc: {
// options: {
// // Task-specific options go here.
// },
// dev: {
// files:{
// './.tmp/storage.swf' : ['./jsflash/dev/Storage.as']
// }
// },
// prod: {
// files:{
// './dist/storage.swf' : ['./jsflash/prod/Storage.as']
// },
// },
//},

manifest: {
options: {
Expand Down Expand Up @@ -681,10 +666,7 @@ module.exports = function (grunt) {
'views/{,*/}*.html',//'views/desc/unit/{,*/}*.html','views/desc/upgrade/{,*/}*.html',
'images/{,*/}*.{webp}',
'fonts/*',
// mxmlc stopped working at some point, but I can't be bothered to fix it properly.
// The compiled version is now saved in git, so we'll just use that and remove all
// flash deps from the build.
'jsflash/storage.swf',
'storage.swf',
]
}, {
expand: true,
Expand Down Expand Up @@ -923,6 +905,9 @@ module.exports = function (grunt) {
'manifest',
'usemin',
'htmlmin',
// mxmlc stopped working at some point, but I can't be bothered to fix it properly.
// The compiled version is now saved in git, so we'll just use that and remove all
// flash deps from the build.
//'mxmlc:prod'
]);
});
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions jsflash/README
@@ -0,0 +1,3 @@
We don't compile these as part of the build anymore - mxmlc was the single most
unstable part of the build. `storage.swf` is now pre-compiled in source control,
committed in `/app`. Use the files in here to recompie it by hand.

0 comments on commit 1b7f9ef

Please sign in to comment.