Missing Source files in App1, App2 (.C, .Js)

#1

Hello!

I’m trying to do first steps with Mongoose, but when i follow steps on this link

https://mongoose-os.com/docs/mongoose-os/quickstart/develop-in-c.md

I see there is not src directory as the documentation says, what would i do in this case?

I can download apps from link, build and flash, firmware works ok but inside directories, the src folder is missing.

Thanks in advance for the response.

Have a nice day!

ALMNET

#2

If the build and flash work, all the files are there.

$ mos clone https://github.com/mongoose-os-apps/empty app1
app1: Does not exist, cloning from "https://github.com/mongoose-os-apps/empty"...
app1: Checking out 2.12.1...
app1: Done, hash 01d3f5b7381355f67e8e345650ccccbfd970f5d1
Command completed.

--------------------------------------------------------------------------------
$ cd "app1"
Command completed.
--------------------------------------------------------------------------------
$ dir
fs  LICENSE  mos.yml  README.md  src
Command completed.
--------------------------------------------------------------------------------
$ dir src
main.c
Command completed.
#3

Hello nliviu!

Thanks for the help! I tried it again and it worked, now i got the src directory and c file.

See you soon here.