Merge branch 'master' of http://git.fishlee.net/scm/git/iFish/Light12306
This commit is contained in:
commit
d4bda222b8
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,7 +9,7 @@ obj
|
||||
*.suo
|
||||
*.lnk
|
||||
*.rar
|
||||
BuildTools/
|
||||
BuildTools/*
|
||||
*ReSharper*
|
||||
*Example*
|
||||
Doc
|
||||
|
@ -22,6 +22,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BuildTools", "BuildTools",
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeployTools", "DeployTools\DeployTools.csproj", "{E958D106-A3EE-46AF-B3E5-E62FC96F2F94}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SourceFileUtility", "SourceFileUtility\SourceFileUtility.csproj", "{BB9C6747-DC69-4EF1-A94C-85D8193B7105}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@ -48,6 +50,10 @@ Global
|
||||
{E958D106-A3EE-46AF-B3E5-E62FC96F2F94}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E958D106-A3EE-46AF-B3E5-E62FC96F2F94}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E958D106-A3EE-46AF-B3E5-E62FC96F2F94}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BB9C6747-DC69-4EF1-A94C-85D8193B7105}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BB9C6747-DC69-4EF1-A94C-85D8193B7105}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BB9C6747-DC69-4EF1-A94C-85D8193B7105}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BB9C6747-DC69-4EF1-A94C-85D8193B7105}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -48,6 +48,9 @@
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>COPY "$(TargetPath)*" "$(SolutionDir)\BuildTools\"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
12
build.cmd
12
build.cmd
@ -4,8 +4,8 @@ if exist deploy rd /s /q deploy
|
||||
md deploy
|
||||
xcopy RwTicketAssistantV2\app\* deploy\ /exclude:exclude.txt /s
|
||||
cd deploy
|
||||
for /r %%i in (*.js) do ..\tools\AjaxMinifier.exe "%%i" -out "%%i"
|
||||
for /r %%i in (*.css) do ..\tools\AjaxMinifier.exe "%%i" -out "%%i"
|
||||
for /r %%i in (*.js) do ..\BuildTools\AjaxMinifier.exe "%%i" -out "%%i"
|
||||
for /r %%i in (*.css) do ..\BuildTools\AjaxMinifier.exe "%%i" -out "%%i"
|
||||
cd ..
|
||||
|
||||
copy tools\onInstall.js deploy\air\js\background\onInstall.js /Y
|
||||
@ -20,13 +20,13 @@ rem copy tools\onInstall_openWelcome.js deploy\air\js\background\onInstall.js /Y
|
||||
rem "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "--pack-extension=%~dp0deploy" "--pack-extension-key=%~dp0src_lb.pem"
|
||||
rem ren deploy.crx 12306订票助手(猎豹浏览器专版)_打开欢迎页.crx
|
||||
|
||||
tools\SourceFileUtility.exe deploy\manifest.json ", ""infobars""" ", ""experimental"""
|
||||
tools\SourceFileUtility.exe deploy\manifest.json ".1""," ".0"","
|
||||
BuildTools\SourceFileUtility.exe deploy\manifest.json ", ""infobars""" ", ""experimental"""
|
||||
BuildTools\SourceFileUtility.exe deploy\manifest.json ".1""," ".0"","
|
||||
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "--pack-extension=%~dp0deploy" "--pack-extension-key=%~dp0src_lb.pem"
|
||||
ren deploy.crx 12306订票助手(猎豹浏览器专版)_B29.crx
|
||||
|
||||
tools\SourceFileUtility.exe deploy\manifest.json ", ""experimental""" ""
|
||||
tools\SourceFileUtility.exe deploy\manifest.json "44/44/update_lb.xml" "44/44/update_chrome.xml"
|
||||
BuildTools\SourceFileUtility.exe deploy\manifest.json ", ""experimental""" ""
|
||||
BuildTools\SourceFileUtility.exe deploy\manifest.json "44/44/update_lb.xml" "44/44/update_chrome.xml"
|
||||
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "--pack-extension=%~dp0deploy" "--pack-extension-key=%~dp0src_lb.pem"
|
||||
ren deploy.crx 12306订票助手_Chrome.crx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user