need help compiling the build folder
Inside of the build folder is a bunch of json files and .tfx.
Expecting a single file to come out that i can ./ the file
Related
How to move my index.html file to 'dist' folder after build? Before npm install and npm run build folder 'dist' s not located in my project it appears after first build and after that I'd like to move automatically my index.html file to this location.
I was searching information on the Internet, found only two thing that attatched to my eyes.
One was "html webpack plugin" but it only creates a new empty index.html folder after build
Second, I found some plug in on github that theoretically can move file to choosen directory but I not working
You can just issue a cp command at runtime. Inside your package.json file, in the scripts section, add an additional command. IE
"scripts": {
...
"build": "react-scripts build && cp build/index.html ../dist/index.html",
...
},
Using the steps outlined in https://code.visualstudio.com/docs/languages/markdown
in step 3 of the Automatic Markdown compilation section I am not presented with a picker listing the tasks defined in the gulp file.
gulp -v produces
CLI version 3.9.1
Local version 3.9.1
My steps are to this point are:
create the gulpfile.js file in the root folder (the folder that
contains the .vscode folder)
copy the contents of the file verbatim from the instructions
Ctrl+Shift+P to bring up the command menu
Select Tasks: Run Tasks
Here I'm presented only with task in the field and No tasks foundbelow.
I've tried just copying the contents of what the tasks.json file should look like, according to the instructions, but I can't seem to get the system working where my markdown files are automatically compiling.
What am I doing wrong?
Found that I needed to add the environment variable NODE_PATH targeting the node_modules folder. In my case it was NODE_PATH=C:\node_modules.
After publish my ASP.NET5 project I get "output" folder consists of "approot", "logs", "wwwroot" folders. Inside approot/src folder there are folders with dll's of my projects, dependent projects etc. All these dlls I need to copy to my wwwroot folder. The issue is, how to get the information about the current path to my output folder during the publish. I need that information to construct glump task to copy my files to proper destination.
I have a scenario where there are two source file ABC.txt and DEF.txt. i want to make sure that if any files are present in that folder with naming convention as ABC.txt, it has to be moved to the different folder prior to loading to the SQL server, and the other (incorrect file) should be moved to a error log folder (separate folder). Can someone advice what task would i use to do that. i tried it using File system task but it just allow you to move or copy files from one location to other prior to loading the file.can someone advice how to i copy that incorrect file to the different folder ( error log folder)?
try to use a bat file.
move ABC.txt /directory
and after
xcopy "source" "destination_err\" /exclude:%temp%\ABC.txt /y
or you can use robocopy command in bat file, this is the command with parameters http://itsvista.com/2007/03/robocopy/
I am using ssis to zip and rename a folder with about 7 files in it. when it zips the folder and renames it the old folder is inside of the zip folder i would just like to have the zip folder with the new name and the files inside of that.
i have tried
a -tzip "F:\Extracts\QCExtracts\QCreports_2014_07.zip" "F:\Extracts\QCExtracts\QCreports\"
a -tzip "F:\Extracts\QCExtracts\QCreports_2014_07.zip" "F:\Extracts\QCExtracts\QCreports"
for both i get the result of QCreports_2014_07.zip\ QCreports\all files
i need it to be QCreports_2014_07.zip\ all files
Assuming you use "Execute Process Task" for the 7z.exe call:
You have to set F:\Extracts\QCExtracts\QCreports\as WorkingDirectory in the Process section of your Task. This should omit the subdirectory in the zip file.