Exclude files from build in Angular 2
Using exclude property of tsconfig.json (at root level), i.e.: { “exclude”: [ “node_modules”, “**/*.spec.ts” ] }
Using exclude property of tsconfig.json (at root level), i.e.: { “exclude”: [ “node_modules”, “**/*.spec.ts” ] }
I agree with Mike Weller. You should probably not be linking against the XCTest framework in your actual app code. Remove XCTest framework. Look at the linker errors and remove things that are referencing the framework. Wash, rinse, repeat. If you have a test target, that is different. What can easily happen during the migration … Read more
This is wrong: g++ -c src/CNumber.cpp src/CNumber.h -o src/CNumber.o You shouldn’t “compile” .h files. Doing so will create precompiled header files, which are not used to create an executable. The above should simply be g++ -c src/CNumber.cpp -o src/CNumber.o Similar for compiling the other .cpp files
When using modules you may be able to get what you need from go mod graph. usage: go mod graph Graph prints the module requirement graph (with replacements applied) in text form. Each line in the output has two space-separated fields: a module and one of its requirements. Each module is identified as a string … Read more
To have a truly idempotent tar, mtime is a good step but not enough. You also need to set the sort order, the owner and group (together with their mapping) and a proper timezone for mtime (since otherwise you’re gonna have issues as well between Mac and Linux). I ended up with tar –sort=name –owner=root:0 … Read more
Simple Answer In your csproj file, add the following line to the existing PropertyGroup block: <PropertyGroup> <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> </PropertyGroup> If adding .ts or .tsx files to your project causes your project file to be modified, you may need to apply the following fix. See the bug report for more details. <ItemGroup> <None Remove=”**/*.ts;**/*.tsx” /> <Content Remove=”**/*.ts;**/*.tsx” … Read more
This is now possible by downloading Android Support Repository from the SDK Manager, and replacing compile files(“libs/android-support-v4.jar”) with compile ‘com.android.support:support-v4:13.0.0’ This has to be done for all projects that use the support library. The Android Support Repository is automatically added to your list of repositories by the build system (Unsure of which part adds it, … Read more